From 8505e6757b2f7c312bbefaf7673ece73a6a82bad Mon Sep 17 00:00:00 2001 From: Rob Clark Date: Tue, 16 Jun 2020 16:36:32 -0700 Subject: [PATCH] glsl_to_nir: fix is_helper_invocation Reported-by: Karol Herbst Signed-off-by: Rob Clark Reviewed-by: Jason Ekstrand Part-of: --- src/compiler/glsl/glsl_to_nir.cpp | 1 - 1 file changed, 1 deletion(-) 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; } -- 2.30.2