nir: Drop nir_tex_instr::texture_array_size
authorJason Ekstrand <jason@jlekstrand.net>
Tue, 25 Feb 2020 03:16:01 +0000 (21:16 -0600)
committerMarge Bot <eric+marge@anholt.net>
Wed, 26 Feb 2020 18:29:49 +0000 (18:29 +0000)
commit349898a967f1bf28271454d88b3f1a36a4db2e06
treecd29e4c6b48a47202beef0824c8719118f741cc9
parentec2f905ca8fda0deaba4fa099a9e47028c11d7e9
nir: Drop nir_tex_instr::texture_array_size

It's set by lots of things and we spend a lot of time maintaining it but
no one actually uses the value for anything useful.

Reviewed-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3940>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3940>
src/amd/vulkan/radv_nir_lower_ycbcr_textures.c
src/compiler/nir/nir.c
src/compiler/nir/nir.h
src/compiler/nir/nir_clone.c
src/compiler/nir/nir_instr_set.c
src/compiler/nir/nir_lower_samplers.c
src/compiler/nir/nir_serialize.c
src/freedreno/vulkan/tu_shader.c
src/intel/vulkan/anv_nir_apply_pipeline_layout.c
src/intel/vulkan/anv_nir_lower_ycbcr_textures.c
src/panfrost/midgard/midgard_compile.c