From c9976f5e4ab6558af72e014668ee7e7ccb65a81c Mon Sep 17 00:00:00 2001 From: Rob Clark Date: Tue, 16 Jun 2020 17:45:59 -0700 Subject: [PATCH] glsl_to_nir: fix shader_clock 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 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; -- 2.30.2