summaryrefslogtreecommitdiff
path: root/src/mesa/shader
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:41:54 -0400
commit314c46060486ae77cb78b3d8be155813145fc72e (patch)
treefa46fa749a3440f8e17e6a411933f4b38d15158a /src/mesa/shader
parent3911ef032745b18071f48a6ad343ece14202049c (diff)
silly bug: it's PROGRAM_VARYING
Diffstat (limited to 'src/mesa/shader')
-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;