mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 14:49:42 -06:00
ShaderGen: Store material uniforms as integers.
This commit is contained in:
@ -24,14 +24,14 @@ struct PixelShaderConstants
|
||||
// For pixel lighting
|
||||
int4 plight_colors[8];
|
||||
float4 plights[32];
|
||||
float4 pmaterials[4];
|
||||
int4 pmaterials[4];
|
||||
};
|
||||
|
||||
struct VertexShaderConstants
|
||||
{
|
||||
float4 posnormalmatrix[6];
|
||||
float4 projection[4];
|
||||
float4 materials[4];
|
||||
int4 materials[4];
|
||||
int4 light_colors[8]; // 8 lights
|
||||
float4 lights[32]; // 8 lights * 4 parameters
|
||||
float4 texmatrices[24];
|
||||
|
Reference in New Issue
Block a user