PixelShaderGen: Perform some of the fog calculations with integers.

This commit is contained in:
Tony Wasserka
2013-12-16 13:08:09 +01:00
parent 605b687af8
commit 065919f599
4 changed files with 34 additions and 27 deletions

View File

@ -19,7 +19,8 @@ struct PixelShaderConstants
float4 indtexscale[2];
int4 indtexmtx[6];
int4 fogcolor;
float4 fog[2];
int4 fogi[1];
float4 fogf[2];
// For pixel lighting
int4 plight_colors[8];