From: Bas Nieuwenhuizen Date: Mon, 29 Apr 2019 20:26:36 +0000 (+0200) Subject: radv: Set is_array in lowered ycbcr tex instructions. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=aab201635e85c3cb374638f806a79c977921d72d;p=mesa.git radv: Set is_array in lowered ycbcr tex instructions. Fixes array tests. Fixes: 91702374d5d "radv: Add ycbcr lowering pass." Reviewed-by: Samuel Pitoiset --- 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;