[vk] fix macos comp errors

Signed-off-by: crueter <crueter@eden-emu.dev>
This commit is contained in:
crueter 2025-07-27 21:32:13 -04:00
parent 896bfcdaaa
commit 711a305929
Signed by untrusted user: crueter
GPG key ID: 425ACD2D4830EBC6

View file

@ -1373,8 +1373,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), .src_offset = VideoCommon::Offset3D{0, 0, 0},
.dst_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});