texture_cache: Change depth resolve new image back to max of resources. (#3205)

This commit is contained in:
squidbus 2025-07-07 03:03:19 -07:00 committed by GitHub
parent 146e81a56a
commit 70eef0de90
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -169,7 +169,7 @@ ImageId TextureCache::ResolveDepthOverlap(const ImageInfo& requested_info, Bindi
if (recreate) {
auto new_info = requested_info;
new_info.resources = std::min(requested_info.resources, cache_image.info.resources);
new_info.resources = std::max(requested_info.resources, cache_image.info.resources);
const auto new_image_id = slot_images.insert(instance, scheduler, new_info);
RegisterImage(new_image_id);