projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f94ba15
)
glsl_to_nir: fix is_helper_invocation
author
Rob Clark
<robdclark@chromium.org>
Tue, 16 Jun 2020 23:36:32 +0000
(16:36 -0700)
committer
Marge Bot
<eric+marge@anholt.net>
Thu, 18 Jun 2020 03:40:54 +0000
(
03:40
+0000)
Reported-by: Karol Herbst <kherbst@redhat.com>
Signed-off-by: Rob Clark <robdclark@chromium.org>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5505>
src/compiler/glsl/glsl_to_nir.cpp
patch
|
blob
|
history
diff --git
a/src/compiler/glsl/glsl_to_nir.cpp
b/src/compiler/glsl/glsl_to_nir.cpp
index a67e11be2cb4dd057a45068e060fbf2fd07d6e86..733e0430e5fd67af6455890bb9014df6bd64eed6 100644
(file)
--- a/
src/compiler/glsl/glsl_to_nir.cpp
+++ b/
src/compiler/glsl/glsl_to_nir.cpp
@@
-1586,7
+1586,6
@@
nir_visitor::visit(ir_call *ir)
}
case nir_intrinsic_is_helper_invocation: {
nir_ssa_dest_init(&instr->instr, &instr->dest, 1, 1, NULL);
- instr->num_components = 1;
nir_builder_instr_insert(&b, &instr->instr);
break;
}