aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/prog_statevars.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2008-12-30 18:01:15 -0700
committerBrian Paul <[email protected]>2008-12-30 18:01:15 -0700
commitc789bd376f09c3b61617aeef6f5adbba2c541178 (patch)
treeb50aba807e609ef6084e52d814370a2cc761f1c8 /src/mesa/shader/prog_statevars.h
parent369115e4c7a2985d880951fd8248deefa92025dd (diff)
parente8d7db31e2a6784c765911233cb3d888f612837f (diff)
Merge commit 'origin/master' into gallium-0.2
Conflicts: src/mesa/main/config.h
Diffstat (limited to 'src/mesa/shader/prog_statevars.h')
-rw-r--r--src/mesa/shader/prog_statevars.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mesa/shader/prog_statevars.h b/src/mesa/shader/prog_statevars.h
index 72e51f40314..d5358a1d042 100644
--- a/src/mesa/shader/prog_statevars.h
+++ b/src/mesa/shader/prog_statevars.h
@@ -79,10 +79,10 @@ typedef enum gl_state_index_ {
STATE_SHININESS,
STATE_HALF_VECTOR,
- STATE_POSITION,
- STATE_ATTENUATION,
- STATE_SPOT_DIRECTION,
- STATE_SPOT_CUTOFF,
+ STATE_POSITION, /**< xyzw = position */
+ STATE_ATTENUATION, /**< xyz = attenuation, w = spot exponent */
+ STATE_SPOT_DIRECTION, /**< xyz = direction, w = cos(cutoff) */
+ STATE_SPOT_CUTOFF, /**< x = cutoff, yzw = undefined */
STATE_TEXGEN_EYE_S,
STATE_TEXGEN_EYE_T,