aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-06-08 10:44:48 -0600
committerBrian Paul <[email protected]>2009-06-08 10:46:46 -0600
commitb6753adbc71a2d13e8ec095251f62cb267429de7 (patch)
treeba8cfadb7e2bfe0f8cc0bd7330b1f9136a5fff12 /src/mesa
parente09f78d8dc7f20bb11f84206b6f1d71418332d8a (diff)
st/mesa: remove invalid assertion
It's legal for ARB_vertex_program programs to not write to result.position. The results are undefined in that case. This assertion was causing us to abort/exit though.
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/state_tracker/st_program.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mesa/state_tracker/st_program.c b/src/mesa/state_tracker/st_program.c
index 06030f6cd8e..72ca8524582 100644
--- a/src/mesa/state_tracker/st_program.c
+++ b/src/mesa/state_tracker/st_program.c
@@ -290,9 +290,6 @@ st_translate_vertex_program(struct st_context *st,
}
}
- assert(vs_output_semantic_name[0] == TGSI_SEMANTIC_POSITION);
-
-
if (outputMapping) {
/* find max output slot referenced to compute vs_num_outputs */
GLuint maxSlot = 0;