upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/test/queue_proxy_test.cpp
diff options
context:
space:
mode:
authorKelboLive <168463230+KelboLive@users.noreply.github.com>2026-12-02 10:24:55 -0500
committerKelboLive <168463230+KelboLive@users.noreply.github.com>2026-12-02 11:42:37 -0500
commit6641b9945c3e55dada65f684b7fb256fc6a78c97 (patch)
tree0ccd1a0751abdf4a2cb045e1377d6bce8b73c98d /runtime/test/queue_proxy_test.cpp
parent5b1fff821cfa5a812de6a33b09f5938ba3406b52 (diff)
d3d12-shader: one PSV0 name per element, as the validator regenerates it (SHADER-PSV0-NAMES)
`psv()` wrote the PSV0 string table with one copy of a semantic name for all elements that shared it. The DXIL validator rebuilds PSV0 from the module and compares the parts for container layouts before 1.8, and that table holds a copy per element: a repeated arbitrary semantic (two TEXCOORDs, two clip distances) left the later element with an offset the regenerated table does not contain, so the program was refused with "Container part 'Pipeline State Validation' does not match expected for module". Write one copy per arbitrary element in element order, as DXC does; system values keep the empty name at offset 0. The regression test parses the emitted part and fails on the shared offset. On main the rectangle geometry-stage validator test is red with dxil.dll 1.7.2308; with this change the full crate suite is 429 passed, 0 failed, 6 ignored (without and with LEONIDA_DXIL pointing at 1.7.2308), and `cargo check --workspace --all-targets --locked` passes. No game data, no GPU.
Diffstat (limited to 'runtime/test/queue_proxy_test.cpp')
0 files changed, 0 insertions, 0 deletions