From: Rhys Perry Date: Thu, 10 Oct 2019 16:05:09 +0000 (+0100) Subject: aco: emit_split_vector() s_memtime results X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=88f1c0a3609d44bc834999f4cf059b942a9a0ea3;p=mesa.git aco: emit_split_vector() s_memtime results Signed-off-by: Rhys Perry Reviewed-by: Daniel Schürmann --- 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);