diff options
author | Rob Clark <[email protected]> | 2020-06-08 12:35:18 -0700 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-06-16 02:48:18 +0000 |
commit | 603d3c2991b97e54c41b19af9cf51b3559526d22 (patch) | |
tree | 7635178b736a5308109d055a105431e124ed1503 | |
parent | 28a14787c07b0046d2789bb6bd483f8ff2e4317c (diff) |
radv: don't set num_components for non-vectorized intrinsics
Signed-off-by: Rob Clark <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5371>
-rw-r--r-- | src/amd/vulkan/radv_meta_blit2d.c | 1 |
1 files changed, 0 insertions, 1 deletions
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); } |