Mesa (master): aco: emit_split_vector() s_memtime results
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Wed Oct 16 15:08:39 UTC 2019
Module: Mesa
Branch: master
Commit: 88f1c0a3609d44bc834999f4cf059b942a9a0ea3
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=88f1c0a3609d44bc834999f4cf059b942a9a0ea3
Author: Rhys Perry <pendingchaos02 at gmail.com>
Date: Thu Oct 10 17:05:09 2019 +0100
aco: emit_split_vector() s_memtime results
Signed-off-by: Rhys Perry <pendingchaos02 at gmail.com>
Reviewed-by: Daniel Schürmann <daniel at schuermann.dev>
---
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);
More information about the mesa-commit
mailing list