summaryrefslogtreecommitdiffstats
path: root/src/amd/vulkan
diff options
context:
space:
mode:
authorBas Nieuwenhuizen <[email protected]>2019-04-29 22:26:36 +0200
committerBas Nieuwenhuizen <[email protected]>2019-05-02 02:29:51 +0200
commitaab201635e85c3cb374638f806a79c977921d72d (patch)
tree09e86e7096cbb9968a89128b6468c2963de68eab /src/amd/vulkan
parent2c57d3361a440085a1b85c39d51739d6e963e797 (diff)
radv: Set is_array in lowered ycbcr tex instructions.
Fixes array tests. Fixes: 91702374d5d "radv: Add ycbcr lowering pass." Reviewed-by: Samuel Pitoiset <[email protected]>
Diffstat (limited to 'src/amd/vulkan')
-rw-r--r--src/amd/vulkan/radv_nir_lower_ycbcr_textures.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/amd/vulkan/radv_nir_lower_ycbcr_textures.c b/src/amd/vulkan/radv_nir_lower_ycbcr_textures.c
index e37cc10a8a0..77f2e6ac66e 100644
--- a/src/amd/vulkan/radv_nir_lower_ycbcr_textures.c
+++ b/src/amd/vulkan/radv_nir_lower_ycbcr_textures.c
@@ -174,6 +174,7 @@ create_plane_tex_instr_implicit(struct ycbcr_state *state,
tex->sampler_dim = old_tex->sampler_dim;
tex->dest_type = old_tex->dest_type;
+ tex->is_array = old_tex->is_array;
tex->op = old_tex->op;
tex->coord_components = old_tex->coord_components;