Files
VIctory/crates
T
lhnizdoandClaude Opus 5.5 ea488a9f99 GPU: no typed unordered view in a format the host cannot store to (#2462)
* GPU: no typed unordered view in a format the host cannot store to

fits() asked the host whether it stores to a typed unordered view's
format only for views cast to another family. A view in the texture's
own format went to CreateUnorderedAccessView unchecked, and on an NVIDIA
card (Windows 10) the title's B5G5R5A1_UNORM unordered views, which that
card does not take, removed the device with DXGI_ERROR_INVALID_CALL
during loading (the debug layer: "The format (0x56, B5G5R5A1_UNORM)
cannot be used with a Typed Unordered Access View", then RemoveDevice).

Every typed unordered view is now checked: one the host cannot store to
is not made, as other views the host does not allow, and its slot stays
null.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018sSQTeDQ6Kc6DEkgPbAww8

* GPU: the store check looks at the format the unordered view is made in

Review of #2462: for a view of a typed texture in another format of its
family that is not castable, fits() makes the view in the texture's own
format, but the store check looked at the requested one. It now checks
the format the view is made in.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
ea488a9f99 · 2026-11-25 22:57:19 +01:00
History
..