diff options
author | Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> | 2019-04-29 22:26:36 +0200 |
---|---|---|
committer | Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> | 2019-05-02 02:29:51 +0200 |
commit | aab201635e85c3cb374638f806a79c977921d72d (patch) | |
tree | 09e86e7096cbb9968a89128b6468c2963de68eab | |
parent | 2c57d3361a440085a1b85c39d51739d6e963e797 (diff) |
radv: Set is_array in lowered ycbcr tex instructions.
Fixes array tests.
Fixes: 91702374d5d "radv: Add ycbcr lowering pass."
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
-rw-r--r-- | src/amd/vulkan/radv_nir_lower_ycbcr_textures.c | 1 |
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; |