mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
ShaderGen: Small optimization.
This commit is contained in:
@ -76,7 +76,8 @@ const s_svar VSVar_Loc[] = { {I_POSNORMALMATRIX, C_POSNORMALMATRIX, 6 },
|
||||
{I_DEPTHPARAMS, C_DEPTHPARAMS, 1 },
|
||||
};
|
||||
|
||||
// TODO: Need packing?
|
||||
#pragma pack(4)
|
||||
|
||||
struct vertex_shader_uid_data
|
||||
|
||||
{
|
||||
@ -108,6 +109,7 @@ struct vertex_shader_uid_data
|
||||
u32 light_mask : 8;
|
||||
} lit_chans[4];
|
||||
};
|
||||
#pragma pack()
|
||||
|
||||
typedef ShaderUid<vertex_shader_uid_data> VertexShaderUid;
|
||||
typedef ShaderCode VertexShaderCode; // TODO: Obsolete..
|
||||
|
Reference in New Issue
Block a user