mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-25 03:35:59 +00:00
LightingShader: hard code const variable
This commit is contained in:
parent
e456a5e64f
commit
924ad1ee9f
9 changed files with 133 additions and 105 deletions
|
@ -28,19 +28,6 @@
|
|||
#define SHADER_TEXTURE7_ATTRIB 15
|
||||
|
||||
|
||||
|
||||
// shader variables
|
||||
#define I_POSNORMALMATRIX "cpnmtx"
|
||||
#define I_PROJECTION "cproj"
|
||||
#define I_MATERIALS "cmtrl"
|
||||
#define I_LIGHT_COLORS "clight_colors"
|
||||
#define I_LIGHTS "clights"
|
||||
#define I_TEXMATRICES "ctexmtx"
|
||||
#define I_TRANSFORMMATRICES "ctrmtx"
|
||||
#define I_NORMALMATRICES "cnmtx"
|
||||
#define I_POSTTRANSFORMMATRICES "cpostmtx"
|
||||
#define I_DEPTHPARAMS "cDepth" // farZ, zRange
|
||||
|
||||
//TODO: get rid of them, they aren't used at all
|
||||
#define C_POSNORMALMATRIX 0
|
||||
#define C_PROJECTION (C_POSNORMALMATRIX + 6)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue