diff options
| author | Maraco91 <43787609+Maraco91@users.noreply.github.com> | 2026-11-23 20:19:07 +0100 |
|---|---|---|
| committer | Maraco91 <43787609+Maraco91@users.noreply.github.com> | 2026-11-23 20:19:07 +0100 |
| commit | ec502356c70ab75e9dcc5119d7c318cb373a1dac (patch) | |
| tree | 4f52c707eaabeb6deb5c9d93f215342ae7e53523 /runtime/src/xma2_decoder.cpp | |
| parent | 867d922f09b86583859796a174df89555fb32da8 (diff) | |
d3d12: a static sampler with the UINT flag on transparent black is registered
register_static_samplers took D3D12_SAMPLER_FLAG_UINT_BORDER_COLOR on
any border colour without a _UINT enum value for a pair D3D12 does not
define, and skipped the sampler: CreateRootSignature succeeded, the S#
was never registered and the shader sampled through the fallback
sampler.
The static enum has no transparent _UINT value, so the 1.2 flag on
TRANSPARENT_BLACK is how a root signature writes the integer border
(0,0,0,0). D3D12 serializes and creates it; the pairs it refuses are the
flag with the float OPAQUE_BLACK and OPAQUE_WHITE, which stay refused.
d3d12_descriptor_test gets a fifth static sampler row for it.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Diffstat (limited to 'runtime/src/xma2_decoder.cpp')
0 files changed, 0 insertions, 0 deletions