From: Brian Date: Thu, 22 Feb 2007 16:08:53 +0000 (-0700) Subject: merge fix: add STATE_FOG_PARAMS_OPTIMIZED, STATE_SPOT_DIR_NORMALIZED X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=96abc6bf72fe0ca6f2aceb87aa9324afe72d67ac;p=mesa.git merge fix: add STATE_FOG_PARAMS_OPTIMIZED, STATE_SPOT_DIR_NORMALIZED --- 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;