projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3911ef0
)
silly bug: it's PROGRAM_VARYING
author
Zack Rusin
<zack@tungstengraphics.com>
Thu, 12 Jun 2008 23:41:54 +0000
(19:41 -0400)
committer
Zack Rusin
<zack@tungstengraphics.com>
Thu, 12 Jun 2008 23:41:54 +0000
(19:41 -0400)
src/mesa/shader/programopt.c
patch
|
blob
|
history
diff --git
a/src/mesa/shader/programopt.c
b/src/mesa/shader/programopt.c
index da4e3fcfcfc88a21a88e5c61b16d62935e256f12..f3511ba00ecdfb7735b9f7a459b733389c1e6023 100644
(file)
--- a/
src/mesa/shader/programopt.c
+++ b/
src/mesa/shader/programopt.c
@@
-382,7
+382,7
@@
_mesa_remove_output_reads(struct gl_program *prog, enum register_file type)
GLuint numVaryingReads = 0;
assert(prog->Target == GL_VERTEX_PROGRAM_ARB);
- assert(type == PROGRAM_
UNIFORM
|| type == PROGRAM_OUTPUT);
+ assert(type == PROGRAM_
VARYING
|| type == PROGRAM_OUTPUT);
for (i = 0; i < VERT_RESULT_MAX; i++)
outputMap[i] = -1;