vk: Force GPU texture processing if the input is already GPU-resident (Tiled RCB read)

This commit is contained in:
kd-11 2024-01-05 01:52:49 +03:00 committed by kd-11
parent b6e9746198
commit 2a1af17f67

View file

@ -1007,7 +1007,7 @@ namespace vk
// Only do GPU-side conversion if occupancy is good
if (check_caps)
{
caps.supports_byteswap = (image_linear_size >= 1024);
caps.supports_byteswap = (image_linear_size >= 1024) || (image_setup_flags & source_is_gpu_resident);
caps.supports_hw_deswizzle = caps.supports_byteswap;
caps.supports_zero_copy = caps.supports_byteswap;
caps.supports_vtc_decoding = false;