summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZack Rusin <zack@tungstengraphics.com>2008-06-12 19:41:54 -0400
committerZack Rusin <zack@tungstengraphics.com>2008-06-12 19:43:10 -0400
commit95b34baa8f981b08e21a36f9163d98a426559839 (patch)
treed832541a505731c8300ee5b54b6ee62d7a812381
parent928ec5cd3be5c7d6f3d9df0ace18371b1ec8c68c (diff)
silly bug: it's PROGRAM_VARYING
-rw-r--r--src/mesa/shader/programopt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/shader/programopt.c b/src/mesa/shader/programopt.c
index da4e3fcfcf..f3511ba00e 100644
--- 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;