From 88f1c0a3609d44bc834999f4cf059b942a9a0ea3 Mon Sep 17 00:00:00 2001 From: Rhys Perry Date: Thu, 10 Oct 2019 17:05:09 +0100 Subject: [PATCH] aco: emit_split_vector() s_memtime results MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Rhys Perry Reviewed-by: Daniel Schürmann --- src/amd/compiler/aco_instruction_selection.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/amd/compiler/aco_instruction_selection.cpp b/src/amd/compiler/aco_instruction_selection.cpp index 0c952739fa2..0e7d8a857e4 100644 --- a/src/amd/compiler/aco_instruction_selection.cpp +++ b/src/amd/compiler/aco_instruction_selection.cpp @@ -5840,6 +5840,7 @@ void visit_intrinsic(isel_context *ctx, nir_intrinsic_instr *instr) } case nir_intrinsic_shader_clock: bld.smem(aco_opcode::s_memtime, Definition(get_ssa_temp(ctx, &instr->dest.ssa)), false); + emit_split_vector(ctx, get_ssa_temp(ctx, &instr->dest.ssa), 2); break; case nir_intrinsic_load_vertex_id_zero_base: { Temp dst = get_ssa_temp(ctx, &instr->dest.ssa); -- 2.30.2