mirror of
https://github.com/starr-dusT/yuzu-mainline
synced 2024-03-05 21:12:25 -08:00
vk_texture_cache: Properly scale blit source images
This commit is contained in:
parent
baf0993d5c
commit
dc72d4d4f5
@ -630,8 +630,8 @@ void BlitScale(VKScheduler& scheduler, VkImage src_image, VkImage dst_image, con
|
||||
.z = 0,
|
||||
},
|
||||
{
|
||||
.x = static_cast<s32>(extent.width),
|
||||
.y = static_cast<s32>(extent.height),
|
||||
.x = std::max(1, static_cast<s32>(extent.width) >> level),
|
||||
.y = std::max(1, static_cast<s32>(extent.height) >> level),
|
||||
.z = 1,
|
||||
},
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user