From: Rob Clark Date: Wed, 17 Jun 2020 00:45:59 +0000 (-0700) Subject: glsl_to_nir: fix shader_clock X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c9976f5e4ab6558af72e014668ee7e7ccb65a81c;p=mesa.git glsl_to_nir: fix shader_clock Signed-off-by: Rob Clark Reviewed-by: Jason Ekstrand Part-of: --- diff --git a/src/compiler/glsl/glsl_to_nir.cpp b/src/compiler/glsl/glsl_to_nir.cpp index 733e0430e5f..d09377b24ef 100644 --- a/src/compiler/glsl/glsl_to_nir.cpp +++ b/src/compiler/glsl/glsl_to_nir.cpp @@ -1400,7 +1400,6 @@ nir_visitor::visit(ir_call *ir) break; case nir_intrinsic_shader_clock: nir_ssa_dest_init(&instr->instr, &instr->dest, 2, 32, NULL); - instr->num_components = 2; nir_intrinsic_set_memory_scope(instr, NIR_SCOPE_SUBGROUP); nir_builder_instr_insert(&b, &instr->instr); break;