diff options
| author | bennymxckz <133025973+bennymxckz@users.noreply.github.com> | 2026-11-22 12:29:35 +1000 |
|---|---|---|
| committer | bennymxckz <133025973+bennymxckz@users.noreply.github.com> | 2026-11-22 12:29:35 +1000 |
| commit | 14668c62d8ad8b4f9e96e8dba7886efd48749b3b (patch) | |
| tree | 4a901e0e40165403ba7c923f5b38ad8574963a88 /runtime/src/thread_stacks.cpp | |
| parent | 67204bf8c0471335d9046890288b33e8d5e2875b (diff) | |
Runtime: RTS0 descriptor ranges read Flags before the table offset
parse_rts0 read 1.1/1.2 descriptor-range records with Flags and
OffsetInDescriptorsFromTableStart swapped (offset at +16, flags at +20).
The PC serializer writes D3D12_DESCRIPTOR_RANGE1 order: type, count, base
register, space, Flags, then the offset. Both values were discarded, so
nothing broke yet, but the descriptor-table layout would have read flags as
offsets.
DescriptorRange now keeps all six fields; the canonical codec stores them
(codec version 2; nothing persists version 1 blobs). The hand-built 1.1
fixture in root_signature_test had the same swap and is corrected; a 1.0
fixture is added, and root_signature_oracle_test checks every range field
against the host serializer for 1.0, 1.1 and 1.2.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/src/thread_stacks.cpp')
0 files changed, 0 insertions, 0 deletions