llvmpipe: fix PIPE_CAP_MAX_VERTEX_TEXTURE_UNITS query
authorBrian Paul <brianp@vmware.com>
Thu, 26 Aug 2010 17:45:25 +0000 (11:45 -0600)
committerBrian Paul <brianp@vmware.com>
Thu, 26 Aug 2010 21:54:51 +0000 (15:54 -0600)
commit4418a493c2466e734e1ca5ace51535d1dbcf8a46
tree209de5370c413ec755982c61db11ee6b1d864a2c
parent98ccee9ea6bd5841784d006fb7cdbbc34895f18b
llvmpipe: fix PIPE_CAP_MAX_VERTEX_TEXTURE_UNITS query

Fixes crashes in glean glsl1 and demos/src/glsl/vert-tex.
See comments for details.
src/gallium/drivers/llvmpipe/lp_screen.c