1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-22 02:32:36 +01:00

rsx: Fix hardware deswizzle not getting used when hardware deswizzle flag is not set

This commit is contained in:
kd-11 2022-09-21 23:19:06 +03:00 committed by kd-11
parent 362a26a404
commit 61666bae69

View File

@ -1038,7 +1038,7 @@ namespace rsx
result.element_size = word_size;
result.block_length = words_per_block;
bool require_cpu_swizzle = !caps.supports_hw_deswizzle;
bool require_cpu_swizzle = !caps.supports_hw_deswizzle && is_swizzled;
bool require_cpu_byteswap = !caps.supports_byteswap;
if (is_swizzled && caps.supports_hw_deswizzle)