diff options
author | Rhys Perry <pendingchaos02@gmail.com> | 2020-06-18 14:45:31 +0100 |
---|---|---|
committer | Rhys Perry <pendingchaos02@gmail.com> | 2020-08-04 20:39:33 +0100 |
commit | 07250a92daf7240f9239504b9f141f28b302e3d6 (patch) | |
tree | ce89d701d087f3978c3b5676d381ba2d041e5c61 /src/amd/compiler/aco_scheduler.cpp | |
parent | a5303a3cbea1b32788fad296df2e99500d616a43 (diff) | |
download | mesa-07250a92daf7240f9239504b9f141f28b302e3d6.tar.gz |
aco: implement subgroup shader_clock on GFX10.3
Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5546>
Diffstat (limited to 'src/amd/compiler/aco_scheduler.cpp')
-rw-r--r-- | src/amd/compiler/aco_scheduler.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/amd/compiler/aco_scheduler.cpp b/src/amd/compiler/aco_scheduler.cpp index 40941e4c539..52b64f02116 100644 --- a/src/amd/compiler/aco_scheduler.cpp +++ b/src/amd/compiler/aco_scheduler.cpp @@ -459,7 +459,8 @@ HazardResult perform_hazard_query(hazard_query *query, Instruction *instr, bool /* don't move non-reorderable instructions */ if (instr->opcode == aco_opcode::s_memtime || instr->opcode == aco_opcode::s_memrealtime || - instr->opcode == aco_opcode::s_setprio) + instr->opcode == aco_opcode::s_setprio || + instr->opcode == aco_opcode::s_getreg_b32) return hazard_fail_unreorderable; memory_event_set instr_set; |