From 603d3c2991b97e54c41b19af9cf51b3559526d22 Mon Sep 17 00:00:00 2001 From: Rob Clark Date: Mon, 8 Jun 2020 12:35:18 -0700 Subject: [PATCH] radv: don't set num_components for non-vectorized intrinsics Signed-off-by: Rob Clark Part-of: --- src/amd/vulkan/radv_meta_blit2d.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/amd/vulkan/radv_meta_blit2d.c b/src/amd/vulkan/radv_meta_blit2d.c index 38795038006..47939b22443 100644 --- a/src/amd/vulkan/radv_meta_blit2d.c +++ b/src/amd/vulkan/radv_meta_blit2d.c @@ -517,7 +517,6 @@ build_nir_texel_fetch(struct nir_builder *b, struct radv_device *device, } if (is_multisampled) { sample_idx = nir_intrinsic_instr_create(b->shader, nir_intrinsic_load_sample_id); - sample_idx->num_components = 1; nir_ssa_dest_init(&sample_idx->instr, &sample_idx->dest, 1, 32, "sample_idx"); nir_builder_instr_insert(b, &sample_idx->instr); } -- 2.30.2