rsx: Update sampler format class when inheriting mipmap slices/sections

This commit is contained in:
kd-11 2021-11-15 22:58:57 +03:00 committed by kd-11
parent 4c0ef37a5c
commit 97bd8f7bc1

View File

@ -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)
{