From 97bd8f7bc1bcbccbf48c2ec66b103b82bb5ba4c0 Mon Sep 17 00:00:00 2001 From: kd-11 Date: Mon, 15 Nov 2021 22:58:57 +0300 Subject: [PATCH] rsx: Update sampler format class when inheriting mipmap slices/sections --- rpcs3/Emu/RSX/Common/texture_cache.h | 1 + 1 file changed, 1 insertion(+) diff --git a/rpcs3/Emu/RSX/Common/texture_cache.h b/rpcs3/Emu/RSX/Common/texture_cache.h index b0d363839c..debac1cbca 100644 --- a/rpcs3/Emu/RSX/Common/texture_cache.h +++ b/rpcs3/Emu/RSX/Common/texture_cache.h @@ -2173,6 +2173,7 @@ namespace rsx // NOTE: Do not disable 'cyclic ref' since the texture_barrier may have already been issued! result.image_handle = 0; result.external_subresource_desc = { 0, deferred_request_command::mipmap_gather, attributes, {}, tex.decoded_remap() }; + result.format_class = rsx::classify_format(attributes.gcm_format); if (use_upscaling) {