mirror of
https://github.com/yuzu-emu/yuzu-android
synced 2024-12-27 13:01:21 -08:00
DMA: Restrict optimised path for BlockToLinear further.
This commit is contained in:
parent
f45f7b5c2a
commit
c736b9ffab
@ -127,7 +127,8 @@ void MaxwellDMA::CopyBlockLinearToPitch() {
|
|||||||
|
|
||||||
// Optimized path for micro copies.
|
// Optimized path for micro copies.
|
||||||
const size_t dst_size = static_cast<size_t>(regs.pitch_out) * regs.line_count;
|
const size_t dst_size = static_cast<size_t>(regs.pitch_out) * regs.line_count;
|
||||||
if (dst_size < GOB_SIZE && regs.pitch_out <= GOB_SIZE_X) {
|
if (dst_size < GOB_SIZE && regs.pitch_out <= GOB_SIZE_X &&
|
||||||
|
regs.src_params.height > GOB_SIZE_Y) {
|
||||||
FastCopyBlockLinearToPitch();
|
FastCopyBlockLinearToPitch();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user