broadcom/vc4: Remove deref chain support from nir_lower_txf_ms.
authorEric Anholt <eric@anholt.net>
Mon, 9 Apr 2018 23:22:55 +0000 (16:22 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Sat, 23 Jun 2018 03:54:00 +0000 (20:54 -0700)
Acked-by: Rob Clark <robdclark@gmail.com>
Acked-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Acked-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/gallium/drivers/vc4/vc4_nir_lower_txf_ms.c

index 108524377ac7c768bc105a2333b669b6b60ea561..92b9e8918c6b1b9ad38d0b5a1d3579431b0acce0 100644 (file)
@@ -46,7 +46,6 @@ vc4_nir_lower_txf_ms_instr(struct vc4_compile *c, nir_builder *b,
 
         nir_tex_instr *txf = nir_tex_instr_create(c->s, 1);
         txf->op = nir_texop_txf;
-        txf->texture = txf_ms->texture;
         txf->texture_index = txf_ms->texture_index;
         txf->coord_components = txf_ms->coord_components;
         txf->is_shadow = txf_ms->is_shadow;