projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
432e9fa
)
mesa: comments for some state vars
author
Brian Paul
<brianp@vmware.com>
Wed, 31 Dec 2008 00:00:36 +0000
(17:00 -0700)
committer
Brian Paul
<brianp@vmware.com>
Wed, 31 Dec 2008 00:00:36 +0000
(17:00 -0700)
src/mesa/shader/prog_statevars.h
patch
|
blob
|
history
diff --git
a/src/mesa/shader/prog_statevars.h
b/src/mesa/shader/prog_statevars.h
index d3091147f82d9ca4797df70119791aca8b3abfa4..909bce0a4f3019e3621c33fa5e50786aae273349 100644
(file)
--- 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,