projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
28a1478
)
radv: don't set num_components for non-vectorized intrinsics
author
Rob Clark
<robdclark@chromium.org>
Mon, 8 Jun 2020 19:35:18 +0000
(12:35 -0700)
committer
Marge Bot
<eric+marge@anholt.net>
Tue, 16 Jun 2020 02:48:18 +0000
(
02:48
+0000)
Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5371>
src/amd/vulkan/radv_meta_blit2d.c
patch
|
blob
|
history
diff --git
a/src/amd/vulkan/radv_meta_blit2d.c
b/src/amd/vulkan/radv_meta_blit2d.c
index 38795038006d5cc35cdae2b109dad178e26112ed..47939b2244306fc94af29ce05aacb35d2e7ca3b4 100644
(file)
--- 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);
}