From: Daniel Schürmann Date: Tue, 23 Jun 2020 09:19:27 +0000 (+0100) Subject: aco: don't allow partial copies on GFX6/7 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=91fd53884dc2d4ee0174a95535e6d9110ab60ff2;p=mesa.git aco: don't allow partial copies on GFX6/7 These are not supported due to missing SDWA instructions Reviewed-by: Rhys Perry Part-of: --- 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();