Log views in another format than their typed host texture

Each pair (kind of view, texture format, view format) is said once, with
the host's casting support: shader and unordered access views that
`fits` gives the texture's own format, and render target views made in
another format than their typed host copy. On an RTX 4070 SUPER both
CastingFullyTypedFormatSupported and RelaxedFormatCastingSupported hold,
and the opening of GTA VI makes one such pair (a UNORM render target
view of an sRGB texture): not the cause of its posterised shading.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
readmet3xt-labandClaude Opus 5.5 committed 2026-11-26 15:37:04 +05:30
1 parent 22035389e6
commit cb191f38e4
3 files changed
+88

No files matched your search

@@ -4060,6 +4060,11 @@ fn fits(texture: &ID3D12Resource, mut format: Option<&mut DXGI_FORMAT>, unordere
if let Some(format) = format
&& !typeless
{
crate::resource::note_cast(
if unordered { "unordered access" } else { "shader resource" },
own,
view,
);
*format = d.Format;
}
true