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/freedreno | |
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/freedreno')
-rw-r--r-- | src/freedreno/vulkan/tu_shader.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/freedreno/vulkan/tu_shader.c b/src/freedreno/vulkan/tu_shader.c index 6f972f96264..a05e819a55a 100644 --- a/src/freedreno/vulkan/tu_shader.c +++ b/src/freedreno/vulkan/tu_shader.c @@ -159,8 +159,6 @@ lower_tex_src_to_offset(nir_builder *b, nir_tex_instr *instr, unsigned src_idx, src->src_type = is_sampler ? nir_tex_src_sampler_offset : nir_tex_src_texture_offset; - - instr->texture_array_size = array_elements; } else { nir_tex_instr_remove_src(instr, src_idx); } |