|
|
@ -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), |
|
|
|
|
|
.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}); |
|
|
|