diff options
author | Brian Paul <[email protected]> | 2009-03-20 20:15:58 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-03-20 20:29:06 -0600 |
commit | 1f45ae0813f72fa92f52e0ebc440922362dc7cce (patch) | |
tree | f69817806df333057425a19c13c300dbbc163782 /src/mesa/shader/prog_statevars.h | |
parent | 12256fc2b2e0a54db24210a4b86f6fb5919d0fe8 (diff) |
mesa: add new internal state var for window size
Actually, window width - 1, height - 1
Diffstat (limited to 'src/mesa/shader/prog_statevars.h')
-rw-r--r-- | src/mesa/shader/prog_statevars.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/shader/prog_statevars.h b/src/mesa/shader/prog_statevars.h index d563080db1c..1180d9eaa4a 100644 --- a/src/mesa/shader/prog_statevars.h +++ b/src/mesa/shader/prog_statevars.h @@ -117,6 +117,7 @@ typedef enum gl_state_index_ { STATE_PCM_SCALE, /**< Post color matrix RGBA scale */ STATE_PCM_BIAS, /**< Post color matrix RGBA bias */ STATE_SHADOW_AMBIENT, /**< ARB_shadow_ambient fail value; token[2] is texture unit index */ + STATE_FB_SIZE, /**< (width-1, height-1, 0, 0) */ STATE_ROT_MATRIX_0, /**< ATI_envmap_bumpmap, rot matrix row 0 */ STATE_ROT_MATRIX_1, /**< ATI_envmap_bumpmap, rot matrix row 1 */ STATE_INTERNAL_DRIVER /* first available state index for drivers (must be last) */ |