Skip to content

Commit

Permalink
vk: Force GPU texture processing if the input is already GPU-resident…
Browse files Browse the repository at this point in the history
… (Tiled RCB read)
  • Loading branch information
kd-11 committed Jan 5, 2024
1 parent b6e9746 commit 2a1af17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rpcs3/Emu/RSX/VK/VKTexture.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 2a1af17

Please sign in to comment.