From 91fd53884dc2d4ee0174a95535e6d9110ab60ff2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Daniel=20Sch=C3=BCrmann?= Date: Tue, 23 Jun 2020 10:19:27 +0100 Subject: [PATCH] aco: don't allow partial copies on GFX6/7 These are not supported due to missing SDWA instructions Reviewed-by: Rhys Perry Part-of: --- 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& 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(); -- 2.30.2