draw: assert that we have non-null fragment shader
authorBrian Paul <brianp@vmware.com>
Thu, 3 Nov 2011 22:55:18 +0000 (16:55 -0600)
committerBrian Paul <brianp@vmware.com>
Thu, 3 Nov 2011 22:56:11 +0000 (16:56 -0600)
commite814d577253d3b618cc40e36f9d50b42fe61d6ed
tree99a371b3c62a0756cf2f9a0871e70922e8861c6f
parentac0ec07e6c8bad958f583aae192fe5a80a63da7b
draw: assert that we have non-null fragment shader

Instead of just segfaulting.  Recently ran into this.
src/gallium/auxiliary/draw/draw_pipe_pstipple.c
src/gallium/auxiliary/draw/draw_pipe_wide_point.c