merge fix: add STATE_FOG_PARAMS_OPTIMIZED, STATE_SPOT_DIR_NORMALIZED
authorBrian <brian@yutani.localnet.net>
Thu, 22 Feb 2007 16:08:53 +0000 (09:08 -0700)
committerBrian <brian@yutani.localnet.net>
Thu, 22 Feb 2007 16:08:53 +0000 (09:08 -0700)
src/mesa/shader/prog_statevars.h

index a1170d6684ad633da502be08e2684b783876eeda..91713f3d1d204469bf90caa1bb650333f68b2d68 100644 (file)
@@ -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;