glsl_to_nir: fix is_helper_invocation
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>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user