i965: Actually upload sampler state pointers for the VS unit on Gen6.
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 4 Apr 2012 23:48:21 +0000 (16:48 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Fri, 6 Apr 2012 01:37:34 +0000 (18:37 -0700)
commit2a80a1e2a702228501fd298b9b176efa8c2c6258
treec3132de97d9843812ddc448d3d923d0e7e9657f6
parentcf68959f99f372ef1c4f647e7a7438ab478314c9
i965: Actually upload sampler state pointers for the VS unit on Gen6.

We already program all the sampler state correctly, we just didn't give
the GPU a pointer to it for the VS stage.  Thus, any texturing other
than texelFetch() wouldn't work.

Fixes piglit test vs-textureLod-miplevels and 99 of oglconform's
glsl-bif-tex subtests.

NOTE: This is a candidate for the 8.0 branch.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/drivers/dri/i965/gen6_sampler_state.c