summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-02-22 09:08:53 -0700
committerBrian <[email protected]>2007-02-22 09:08:53 -0700
commit96abc6bf72fe0ca6f2aceb87aa9324afe72d67ac (patch)
treee02574a2a891fb28bee2691705c856d95f87aff8
parent7b30053b264726156a018c822657270e745320ce (diff)
merge fix: add STATE_FOG_PARAMS_OPTIMIZED, STATE_SPOT_DIR_NORMALIZED
-rw-r--r--src/mesa/shader/prog_statevars.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/shader/prog_statevars.h b/src/mesa/shader/prog_statevars.h
index a1170d6684a..91713f3d1d2 100644
--- a/src/mesa/shader/prog_statevars.h
+++ b/src/mesa/shader/prog_statevars.h
@@ -108,6 +108,8 @@ typedef enum gl_state_index_ {
STATE_NORMAL_SCALE,
STATE_TEXRECT_SCALE,
STATE_POSITION_NORMALIZED, /* normalized light position */
+ STATE_FOG_PARAMS_OPTIMIZED, /* for faster fog calc */
+ STATE_SPOT_DIR_NORMALIZED, /* pre-normalized spot dir */
STATE_INTERNAL_DRIVER /* first available state index for drivers (must be last) */
} gl_state_index;