aboutsummaryrefslogtreecommitdiffstats
path: root/src/compiler
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2020-06-16 16:36:32 -0700
committerMarge Bot <[email protected]>2020-06-18 03:40:54 +0000
commit8505e6757b2f7c312bbefaf7673ece73a6a82bad (patch)
tree673936724f4eafe31dda4716c68e9f4e9eaa576f /src/compiler
parentf94ba1555d4acfd84bbd460c54b6762ee303750a (diff)
glsl_to_nir: fix is_helper_invocation
Reported-by: Karol Herbst <[email protected]> Signed-off-by: Rob Clark <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5505>
Diffstat (limited to 'src/compiler')
-rw-r--r--src/compiler/glsl/glsl_to_nir.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/compiler/glsl/glsl_to_nir.cpp b/src/compiler/glsl/glsl_to_nir.cpp
index a67e11be2cb..733e0430e5f 100644
--- 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;
}