This commit is contained in:
Feng Chen 2023-04-02 10:16:00 +02:00 committed by GitHub
commit f7ecc59f92
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1306,6 +1306,7 @@ ImageId TextureCache<P>::JoinImages(const ImageInfo& info, GPUVAddr gpu_addr, VA
auto copies = MakeShrinkImageCopies(new_info, overlap.info, base, up_scale, down_shift);
if (overlap.info.num_samples != new_image.info.num_samples) {
runtime.CopyImageMSAA(new_image, overlap, std::move(copies));
continue;
} else {
runtime.CopyImage(new_image, overlap, std::move(copies));
}