Browse Source
[macos] patch from pflyly's eden nightly
Signed-off-by: lizzie <lizzie@eden-emu.dev>
pull/376/head
lizzie
6 months ago
No known key found for this signature in database
GPG Key ID: 287378CADCAB13
1 changed files with
2 additions and
2 deletions
-
src/video_core/renderer_vulkan/vk_texture_cache.cpp
|
|
@ -1378,8 +1378,8 @@ void TextureCacheRuntime::CopyImage(Image& dst, Image& src, |
|
|
// these images that aren't size-compatible
|
|
|
// these images that aren't size-compatible
|
|
|
if (BytesPerBlock(src.info.format) != BytesPerBlock(dst.info.format)) { |
|
|
if (BytesPerBlock(src.info.format) != BytesPerBlock(dst.info.format)) { |
|
|
auto oneCopy = VideoCommon::ImageCopy{ |
|
|
auto oneCopy = VideoCommon::ImageCopy{ |
|
|
.src_offset = VideoCommon::Offset3D(0, 0, 0), |
|
|
|
|
|
.dst_offset = VideoCommon::Offset3D(0, 0, 0), |
|
|
|
|
|
|
|
|
.src_offset = VideoCommon::Offset3D{0, 0, 0}, |
|
|
|
|
|
.dst_offset = VideoCommon::Offset3D{0, 0, 0}, |
|
|
.extent = dst.info.size |
|
|
.extent = dst.info.size |
|
|
}; |
|
|
}; |
|
|
return ReinterpretImage(dst, src, std::span{&oneCopy, 1}); |
|
|
return ReinterpretImage(dst, src, std::span{&oneCopy, 1}); |
|
|
|