projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
97eba76
)
ir_to_mesa: Support gl_FragDepth.
author
Eric Anholt
<eric@anholt.net>
Wed, 30 Jun 2010 21:55:45 +0000
(14:55 -0700)
committer
Eric Anholt
<eric@anholt.net>
Wed, 30 Jun 2010 21:55:45 +0000
(14:55 -0700)
Fixes glsl-bug-22603.
src/mesa/shader/ir_to_mesa.cpp
patch
|
blob
|
history
diff --git
a/src/mesa/shader/ir_to_mesa.cpp
b/src/mesa/shader/ir_to_mesa.cpp
index c39621bf7969e61b16c9eeb4a3c7e987bbfafa91..ef9a96e2f529642869d49e4113a9a7b851ba2b0a 100644
(file)
--- a/
src/mesa/shader/ir_to_mesa.cpp
+++ b/
src/mesa/shader/ir_to_mesa.cpp
@@
-222,7
+222,7
@@
static const struct {
{"gl_FragCoord", PROGRAM_INPUT, FRAG_ATTRIB_WPOS},
{"gl_FrontFacing", PROGRAM_INPUT, FRAG_ATTRIB_FACE},
{"gl_FragColor", PROGRAM_OUTPUT, FRAG_ATTRIB_COL0},
- {"gl_FragDepth", PROGRAM_
UNDEFINED, FRAG_ATTRIB_WPOS}, /* FINISHME: WPOS.z */
+ {"gl_FragDepth", PROGRAM_
OUTPUT, FRAG_RESULT_DEPTH},
/* 110_deprecated_fs */
{"gl_Color", PROGRAM_INPUT, FRAG_ATTRIB_COL0},