From aab201635e85c3cb374638f806a79c977921d72d Mon Sep 17 00:00:00 2001 From: Bas Nieuwenhuizen Date: Mon, 29 Apr 2019 22:26:36 +0200 Subject: [PATCH] radv: Set is_array in lowered ycbcr tex instructions. Fixes array tests. Fixes: 91702374d5d "radv: Add ycbcr lowering pass." Reviewed-by: Samuel Pitoiset --- src/amd/vulkan/radv_nir_lower_ycbcr_textures.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/amd/vulkan/radv_nir_lower_ycbcr_textures.c b/src/amd/vulkan/radv_nir_lower_ycbcr_textures.c index e37cc10..77f2e6a 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; -- 2.7.4