From: Brian Paul Date: Mon, 8 Jun 2009 16:44:48 +0000 (-0600) Subject: st/mesa: remove invalid assertion X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b6753adbc71a2d13e8ec095251f62cb267429de7;p=mesa.git 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. --- 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;