mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 22:00:39 -06:00
PixelShaderGen: Perform some of the fog calculations with integers.
This commit is contained in:
@ -17,7 +17,8 @@
|
||||
#define I_INDTEXSCALE "cindscale"
|
||||
#define I_INDTEXMTX "cindmtx"
|
||||
#define I_FOGCOLOR "cfogcolor"
|
||||
#define I_FOG "cfog"
|
||||
#define I_FOGI "cfogi"
|
||||
#define I_FOGF "cfogf"
|
||||
#define I_PLIGHT_COLORS "cPLightColors"
|
||||
#define I_PLIGHTS "cPLights"
|
||||
#define I_PMATERIALS "cPmtrl"
|
||||
@ -32,9 +33,10 @@
|
||||
#define C_INDTEXSCALE (C_ZBIAS + 2) //19
|
||||
#define C_INDTEXMTX (C_INDTEXSCALE + 2) //21
|
||||
#define C_FOGCOLOR (C_INDTEXMTX + 6) //27
|
||||
#define C_FOG (C_FOGCOLOR + 1) //28
|
||||
#define C_FOGI (C_FOGCOLOR + 1) //28
|
||||
#define C_FOGF (C_FOGI + 1) //29
|
||||
|
||||
#define C_PLIGHT_COLORS (C_FOG + 2)
|
||||
#define C_PLIGHT_COLORS (C_FOGF + 2)
|
||||
#define C_PLIGHTS (C_PLIGHT_COLORS + 8)
|
||||
#define C_PMATERIALS (C_PLIGHTS + 32)
|
||||
#define C_PENVCONST_END (C_PMATERIALS + 4)
|
||||
|
Reference in New Issue
Block a user