projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b30053
)
merge fix: add STATE_FOG_PARAMS_OPTIMIZED, STATE_SPOT_DIR_NORMALIZED
author
Brian
<brian@yutani.localnet.net>
Thu, 22 Feb 2007 16:08:53 +0000
(09:08 -0700)
committer
Brian
<brian@yutani.localnet.net>
Thu, 22 Feb 2007 16:08:53 +0000
(09:08 -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 a1170d6684ad633da502be08e2684b783876eeda..91713f3d1d204469bf90caa1bb650333f68b2d68 100644
(file)
--- 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;