st/mesa: set geometry shader to NULL when doing internal drawing
authorMarek Olšák <maraeo@gmail.com>
Fri, 4 Nov 2011 17:10:16 +0000 (18:10 +0100)
committerMarek Olšák <maraeo@gmail.com>
Fri, 4 Nov 2011 22:01:47 +0000 (23:01 +0100)
commitd2633af696f2e4ff98f669061e4e222e8643312c
treee7c4b33370aeba5f6133fb89e7c0716350f30635
parent794c5158b0a0b2978ebae6fdc2747e6febcd42c1
st/mesa: set geometry shader to NULL when doing internal drawing

The code expects the geometry shader to be NULL.
We don't have geometry shaders now, but it's good to be prepared.

v2: check for support in the cso context
src/gallium/auxiliary/cso_cache/cso_context.c
src/gallium/auxiliary/util/u_blit.c
src/gallium/auxiliary/util/u_gen_mipmap.c
src/mesa/state_tracker/st_cb_bitmap.c
src/mesa/state_tracker/st_cb_clear.c
src/mesa/state_tracker/st_cb_drawpixels.c
src/mesa/state_tracker/st_cb_drawtex.c
src/mesa/state_tracker/st_extensions.c