mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-03 16:16:05 +00:00
ShaderGen: Store material uniforms as integers.
This commit is contained in:
parent
4bf57565e8
commit
78623871f9
6 changed files with 20 additions and 20 deletions
|
@ -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];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue