mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-20 11:35:54 +00:00
VertexShaderGen: Optimize shader uid data order.
This commit is contained in:
parent
d0084cb41d
commit
7a1940020d
1 changed files with 3 additions and 3 deletions
|
@ -69,12 +69,12 @@ struct vertex_shader_uid_data
|
|||
{
|
||||
u32 NumValues() const { return sizeof(vertex_shader_uid_data); }
|
||||
|
||||
u32 components;
|
||||
u32 numColorChans : 2;
|
||||
u32 components : 23;
|
||||
u32 numTexGens : 4;
|
||||
|
||||
u32 numColorChans : 2;
|
||||
u32 dualTexTrans_enabled : 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
|
||||
struct {
|
||||
|
|
Loading…
Add table
Reference in a new issue