i965: Fix sampler state pointer adjustment for nonconst samplers
authorChris Forbes <chrisf@ijw.co.nz>
Tue, 4 Nov 2014 17:41:13 +0000 (06:41 +1300)
committerChris Forbes <chrisf@ijw.co.nz>
Wed, 5 Nov 2014 10:32:42 +0000 (23:32 +1300)
commit1ca88aa58217239da84a426c29f05b5b53855951
treecb02365da6af03568d82d56ba8cac97b21b93846
parent9e2473763d43f97e46561530e091473dc1e5780d
i965: Fix sampler state pointer adjustment for nonconst samplers

This started hitting an assertion recently. Only affects Haswell
(Ivybridge doesn't support this meddling with the sampler state pointer,
and ARB_gpu_shader5 is not enabled yet on Broadwell)

14 Piglits crash->pass.

Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_eu_emit.c