st/mesa: don't assign prog->ShadowSamplers
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Thu, 5 Oct 2017 17:25:48 +0000 (19:25 +0200)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Wed, 11 Oct 2017 21:16:21 +0000 (23:16 +0200)
commit2991c0d7df898c6c3b5f5fdb66be07e63f8313e8
tree3c352305ca2f9b833506044a224a1ff7b9194ebc
parent0e26e767d2f13397d862b9a8fb921610a721cf19
st/mesa: don't assign prog->ShadowSamplers

It's not used, and the assignment for the TGSI case was incorrect
for sampler arrays.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/mesa/state_tracker/st_glsl_to_nir.cpp
src/mesa/state_tracker/st_glsl_to_tgsi.cpp