radeonsi: get the sampler view type from inst->Texture for TG4
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 17 May 2017 08:55:51 +0000 (10:55 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 18 May 2017 19:48:16 +0000 (21:48 +0200)
commit1468e29e0285e8878c6112f810fae5ab87c426e9
tree3a942d38ef9d20437ecc0f9e106ef2be8c51e789
parent5cb2eee5573b69311da95454be1431e536212fbb
radeonsi: get the sampler view type from inst->Texture for TG4

This will also magically fix this special lowering for
bindless samplers.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/radeonsi/si_shader_tgsi_mem.c