mirror of
https://github.com/yuzu-mirror/yuzu
synced 2024-12-25 11:33:19 +00:00
Merge pull request #6679 from yzct12345/fix-lets-go
Fix Pokemon Let's Go on Vulkan
This commit is contained in:
commit
b405a81a9c
1 changed files with 4 additions and 1 deletions
|
@ -608,7 +608,10 @@ void TextureCacheRuntime::BlitImage(Framebuffer* dst_framebuffer, ImageView& dst
|
||||||
const VkImageAspectFlags aspect_mask = ImageAspectMask(src.format);
|
const VkImageAspectFlags aspect_mask = ImageAspectMask(src.format);
|
||||||
const bool is_dst_msaa = dst.Samples() != VK_SAMPLE_COUNT_1_BIT;
|
const bool is_dst_msaa = dst.Samples() != VK_SAMPLE_COUNT_1_BIT;
|
||||||
const bool is_src_msaa = src.Samples() != VK_SAMPLE_COUNT_1_BIT;
|
const bool is_src_msaa = src.Samples() != VK_SAMPLE_COUNT_1_BIT;
|
||||||
ASSERT(aspect_mask == ImageAspectMask(dst.format));
|
if (aspect_mask != ImageAspectMask(dst.format)) {
|
||||||
|
UNIMPLEMENTED_MSG("Incompatible blit from format {} to {}", src.format, dst.format);
|
||||||
|
return;
|
||||||
|
}
|
||||||
if (aspect_mask == VK_IMAGE_ASPECT_COLOR_BIT && !is_src_msaa && !is_dst_msaa) {
|
if (aspect_mask == VK_IMAGE_ASPECT_COLOR_BIT && !is_src_msaa && !is_dst_msaa) {
|
||||||
blit_image_helper.BlitColor(dst_framebuffer, src, dst_region, src_region, filter,
|
blit_image_helper.BlitColor(dst_framebuffer, src, dst_region, src_region, filter,
|
||||||
operation);
|
operation);
|
||||||
|
|
Loading…
Reference in a new issue