Mesa (master): aco: don't allow partial copies on GFX6/7

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Jun 24 11:12:50 UTC 2020


Module: Mesa
Branch: master
Commit: 91fd53884dc2d4ee0174a95535e6d9110ab60ff2
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=91fd53884dc2d4ee0174a95535e6d9110ab60ff2

Author: Daniel Schürmann <daniel at schuermann.dev>
Date:   Tue Jun 23 10:19:27 2020 +0100

aco: don't allow partial copies on GFX6/7

These are not supported due to missing SDWA instructions

Reviewed-by: Rhys Perry <pendingchaos02 at gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5207>

---

 src/amd/compiler/aco_lower_to_hw_instr.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/amd/compiler/aco_lower_to_hw_instr.cpp b/src/amd/compiler/aco_lower_to_hw_instr.cpp
index b208bb6fd34..e3bc6944ed1 100644
--- a/src/amd/compiler/aco_lower_to_hw_instr.cpp
+++ b/src/amd/compiler/aco_lower_to_hw_instr.cpp
@@ -1323,7 +1323,7 @@ void handle_operands(std::map<PhysReg, copy_operation>& copy_map, lower_context*
          return;
       }
       if (it == copy_map.end()) {
-         if (!skip_partial_copies)
+         if (!skip_partial_copies || ctx->program->chip_class < GFX8)
             break;
          skip_partial_copies = false;
          it = copy_map.begin();



More information about the mesa-commit mailing list