mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-31 20:00:24 +01:00
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.
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
(cherry picked from commit 2a80a1e2a7)
This commit is contained in:
parent
a30790a9a3
commit
edeb3976d4
1 changed files with 1 additions and 1 deletions
|
|
@ -41,7 +41,7 @@ upload_sampler_state_pointers(struct brw_context *brw)
|
|||
GS_SAMPLER_STATE_CHANGE |
|
||||
PS_SAMPLER_STATE_CHANGE |
|
||||
(4 - 2));
|
||||
OUT_BATCH(0); /* VS */
|
||||
OUT_BATCH(brw->sampler.offset); /* VS */
|
||||
OUT_BATCH(0); /* GS */
|
||||
OUT_BATCH(brw->sampler.offset);
|
||||
ADVANCE_BATCH();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue