mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-11 00:29:11 +01:00
VertexShaderGen: Optimize shader uid data order.
This commit is contained in:
parent
d0084cb41d
commit
7a1940020d
@ -69,12 +69,12 @@ struct vertex_shader_uid_data
|
|||||||
{
|
{
|
||||||
u32 NumValues() const { return sizeof(vertex_shader_uid_data); }
|
u32 NumValues() const { return sizeof(vertex_shader_uid_data); }
|
||||||
|
|
||||||
u32 components;
|
u32 components : 23;
|
||||||
u32 numColorChans : 2;
|
|
||||||
u32 numTexGens : 4;
|
u32 numTexGens : 4;
|
||||||
|
u32 numColorChans : 2;
|
||||||
u32 dualTexTrans_enabled : 1;
|
u32 dualTexTrans_enabled : 1;
|
||||||
u32 pixel_lighting : 1;
|
u32 pixel_lighting : 1;
|
||||||
|
u32 pad0 : 1;
|
||||||
|
|
||||||
u32 texMtxInfo_n_projection : 16; // Stored separately to guarantee that the texMtxInfo struct is 8 bits wide
|
u32 texMtxInfo_n_projection : 16; // Stored separately to guarantee that the texMtxInfo struct is 8 bits wide
|
||||||
struct {
|
struct {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user