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

vk: Fix incorrect mixed transfer modes for mipmapped VTC

This commit is contained in:
kd-11 2021-11-27 19:22:25 +03:00 committed by kd-11
parent 44fe6f6d39
commit 38bfefcdfa

View File

@ -971,6 +971,12 @@ namespace vk
offset_in_upload_buffer = dma_mapping.first;
copy_info.bufferOffset = offset_in_upload_buffer;
}
else if (!layout.layer && !layout.level)
{
// Do not allow mixed transfer modes.
// This can happen in special cases, e.g mipN having different processing than mip0 as is the case with the last VTC mip
caps.supports_zero_copy = false;
}
if (opt.require_swap || opt.require_deswizzle || requires_depth_processing)
{