summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_atom_shader.c
diff options
context:
space:
mode:
authorKeith Whitwell <keithw@vmware.com>2009-12-18 18:39:44 +0000
committerKeith Whitwell <keithw@vmware.com>2009-12-18 18:39:44 +0000
commit325f045c04121b989bddfca02711e3d03f7f9c3f (patch)
tree58db2e7833f8ae7d93641bba877fcec41f8bc6cd /src/mesa/state_tracker/st_atom_shader.c
parent5e6fff7ac4a4e0d06d394391f6e2dd2eb6ff8aee (diff)
downloadexternal_mesa3d-325f045c04121b989bddfca02711e3d03f7f9c3f.zip
external_mesa3d-325f045c04121b989bddfca02711e3d03f7f9c3f.tar.gz
external_mesa3d-325f045c04121b989bddfca02711e3d03f7f9c3f.tar.bz2
st/mesa: move assert on nr vs insns until after pos_invarient expansion
It is possible to have a 1-instruction vertex shader before expanding pos_invarient. Not sure what this assert achieved, but at least move it where it is correct.
Diffstat (limited to 'src/mesa/state_tracker/st_atom_shader.c')
-rw-r--r--src/mesa/state_tracker/st_atom_shader.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mesa/state_tracker/st_atom_shader.c b/src/mesa/state_tracker/st_atom_shader.c
index 6e311e5..9208f3f 100644
--- a/src/mesa/state_tracker/st_atom_shader.c
+++ b/src/mesa/state_tracker/st_atom_shader.c
@@ -287,8 +287,6 @@ find_translated_vp(struct st_context *st,
#endif
}
- assert(stvp->Base.Base.NumInstructions > 1);
-
st_translate_vertex_program(st, stvp, xvp->output_to_slot,
xvp->output_to_semantic_name,
xvp->output_to_semantic_index);