Browse Source

ifdef image type return windows

pull/2720/head
unknown 5 months ago
committed by crueter
parent
commit
6a329d0af4
  1. 2
      src/video_core/renderer_vulkan/vk_texture_cache.cpp

2
src/video_core/renderer_vulkan/vk_texture_cache.cpp

@ -1377,9 +1377,11 @@ void TextureCacheRuntime::CopyImage(Image& dst, Image& src,
// As per the size-compatible formats section of vulkan, copy manually via ReinterpretImage
// these images that aren't size-compatible
if (BytesPerBlock(src.info.format) != BytesPerBlock(dst.info.format)) {
#ifdef __WIN32__
if (src.info.type == ImageType::Linear || dst.info.type == ImageType::Linear) {
return;
}
#endif
auto oneCopy = VideoCommon::ImageCopy{
.src_offset = VideoCommon::Offset3D(0, 0, 0),
.dst_offset = VideoCommon::Offset3D(0, 0, 0),

Loading…
Cancel
Save