st/mesa: move assert on nr vs insns until after pos_invarient expansion
authorKeith Whitwell <keithw@vmware.com>
Fri, 18 Dec 2009 18:39:44 +0000 (18:39 +0000)
committerKeith Whitwell <keithw@vmware.com>
Fri, 18 Dec 2009 18:39:44 +0000 (18:39 +0000)
commit325f045c04121b989bddfca02711e3d03f7f9c3f
tree58db2e7833f8ae7d93641bba877fcec41f8bc6cd
parent5e6fff7ac4a4e0d06d394391f6e2dd2eb6ff8aee
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.
src/mesa/state_tracker/st_atom_shader.c
src/mesa/state_tracker/st_program.c