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

These are not supported due to missing SDWA instructions

Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5207>
This commit is contained in:
Daniel Schürmann 2020-06-23 10:19:27 +01:00 committed by Marge Bot
parent 76b5d72921
commit 91fd53884d
1 changed files with 1 additions and 1 deletions

View File

@ -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();