summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/prog_statevars.h
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-10-30 12:39:58 -0600
committerBrian <[email protected]>2007-10-30 12:39:58 -0600
commit068c7bd912283e051a55b2fd5c4568685d10f3ed (patch)
treeabb1dd29b3420e541d541b0d9deaa772c2d92747 /src/mesa/shader/prog_statevars.h
parent8aa42546add1fef4949e2d4ceded62e2d1dd0215 (diff)
add state vars for color matrix, pixel transfer scale&bias
Diffstat (limited to 'src/mesa/shader/prog_statevars.h')
-rw-r--r--src/mesa/shader/prog_statevars.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/shader/prog_statevars.h b/src/mesa/shader/prog_statevars.h
index 3281a4a2a0f..9fedcfab8af 100644
--- a/src/mesa/shader/prog_statevars.h
+++ b/src/mesa/shader/prog_statevars.h
@@ -67,6 +67,7 @@ typedef enum gl_state_index_ {
STATE_MVP_MATRIX,
STATE_TEXTURE_MATRIX,
STATE_PROGRAM_MATRIX,
+ STATE_COLOR_MATRIX,
STATE_MATRIX_INVERSE,
STATE_MATRIX_TRANSPOSE,
STATE_MATRIX_INVTRANS,
@@ -108,6 +109,8 @@ typedef enum gl_state_index_ {
STATE_POSITION_NORMALIZED, /* normalized light position */
STATE_FOG_PARAMS_OPTIMIZED, /* for faster fog calc */
STATE_SPOT_DIR_NORMALIZED, /* pre-normalized spot dir */
+ STATE_PT_SCALE, /**< Pixel transfer RGBA scale */
+ STATE_PT_BIAS, /**< Pixel transfer RGBA bias */
STATE_INTERNAL_DRIVER /* first available state index for drivers (must be last) */
} gl_state_index;