vk_texture_cache: Properly scale blit source images

This commit is contained in:
ReinUsesLisp authored and Fernando Sahmkow committed 2021-11-16 22:11:28 +01:00
1 parent 0c46b92625
commit 6c9df94aa6
1 file changed
+2 -2
@@ -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,
},
},