projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e09f78d
)
st/mesa: remove invalid assertion
author
Brian Paul
<brianp@vmware.com>
Mon, 8 Jun 2009 16:44:48 +0000
(10:44 -0600)
committer
Brian Paul
<brianp@vmware.com>
Mon, 8 Jun 2009 16:46:46 +0000
(10:46 -0600)
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.
src/mesa/state_tracker/st_program.c
patch
|
blob
|
history
diff --git
a/src/mesa/state_tracker/st_program.c
b/src/mesa/state_tracker/st_program.c
index 06030f6cd8edee3a8b962ff0f2d110fa0984ae91..72ca85245829cecd213ef6959e15d60c1b4e044d 100644
(file)
--- 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;