diff options
author | Jason Ekstrand <[email protected]> | 2020-02-24 21:16:01 -0600 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-02-26 18:29:49 +0000 |
commit | 349898a967f1bf28271454d88b3f1a36a4db2e06 (patch) | |
tree | cd29e4c6b48a47202beef0824c8719118f741cc9 /src/amd/vulkan | |
parent | ec2f905ca8fda0deaba4fa099a9e47028c11d7e9 (diff) |
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 <[email protected]>
Reviewed-by: Alyssa Rosenzweig <[email protected]>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3940>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3940>
Diffstat (limited to 'src/amd/vulkan')
-rw-r--r-- | src/amd/vulkan/radv_nir_lower_ycbcr_textures.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/amd/vulkan/radv_nir_lower_ycbcr_textures.c b/src/amd/vulkan/radv_nir_lower_ycbcr_textures.c index 5d771c2fc2e..2b84ddae2a0 100644 --- a/src/amd/vulkan/radv_nir_lower_ycbcr_textures.c +++ b/src/amd/vulkan/radv_nir_lower_ycbcr_textures.c @@ -262,7 +262,6 @@ create_plane_tex_instr_implicit(struct ycbcr_state *state, tex->component = old_tex->component; tex->texture_index = old_tex->texture_index; - tex->texture_array_size = old_tex->texture_array_size; tex->sampler_index = old_tex->sampler_index; nir_ssa_dest_init(&tex->instr, &tex->dest, |