Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
VertexShaderGen: Optimize shader uid data order.
  • Loading branch information
neobrain committed Aug 12, 2013
1 parent d0084cb commit 7a19400
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Source/Core/VideoCommon/Src/VertexShaderGen.h
Expand Up @@ -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 {
Expand Down

0 comments on commit 7a19400

Please sign in to comment.