Module: Mesa Branch: gallium-0.2 Commit: 6f346ec0b85375defd049029fa781531fdabda56 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6f346ec0b85375defd049029fa781531fdabda56
Author: Brian Paul <[email protected]> Date: Tue Dec 30 17:00:36 2008 -0700 mesa: comments for some state vars --- src/mesa/shader/prog_statevars.h | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/mesa/shader/prog_statevars.h b/src/mesa/shader/prog_statevars.h index d309114..909bce0 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, _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
