diff options
| author | QemmHD <stephenlethco2@gmail.com> | 2026-11-24 21:35:06 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-11-24 21:35:06 -0500 |
| commit | a2de554e5632345f9c9fcb18783eb40eabbe8a22 (patch) | |
| tree | 1a7512f01e8c74eb5293fa12e051e43b3a1ef849 /runtime/opus_decoder | |
| parent | e79906a42b20a676231ba677a383b37af25a37ba (diff) | |
| parent | a330747f237b7ce1d2cc82a531ef5d2220ee9c20 (diff) | |
Merge pull request #1353 from robot00f/fix/rootsig-heap-flags
Merging.
**Why merged:** on Windows 10, the in-box `d3d12.dll` refuses root-signature flags `0xC00` (heap directly indexed) in its serializer, so the title is left with a null program and stops about 15 s in (`exe+0xb5a5f8`, a read of `0x68`); testers on Windows 10 hit this every boot. This retries only after the host has refused, and only when `0xC00` is in the description. It covers both the versioned and the legacy `D3D12SerializeRootSignature`, patches the flags back into `RTS0` after checking the container hash (failing closed), and it's claimed as D3D12-SET-HEAPS-BLOB. It's the better of the two PRs for this. #683 does the same for the versioned path only, by probing each bit through a static that captures the first serializer pointer.
**Why it's good:** on this Windows 11 host the real serializer accepts the flags, so I also checked the refusal path independently with a harness: a fake serializer that refuses `0xC00` and forwards everything else to the real Windows 11 serializer, on the RTX 4070 SUPER's hardware D3D12 device. #1353's wrappers (versioned 1.0 and 1.1, legacy 1.0) return S_OK after exactly one refusal; the flags read back as `0xc01` through the host deserializer; hardware `CreateRootSignature` succeeds; an unrelated failure is passed through; and a host that accepts the flags gets a byte-identical blob, 16/16. root_sig, root_signature, root_signature_oracle, d3d12_set_descriptor_heaps, d3d12_xs_root_signature, d3d12_draw, bundle, device_proxy and xs_proxy_mock* pass 14/14, both plain and with `LEONIDA_VK_VALIDATION=1`. The repository-consistency set gives 578/5/0. It merges cleanly onto main after #984 (neither #984 nor DadaCap's prototype carries this fix). Minor note: it returns S_FALSE ("flags lost") if a blob can't be patched, which is fine.
AI-assisted (Claude Code, Claude Opus 5.5).
Diffstat (limited to 'runtime/opus_decoder')
0 files changed, 0 insertions, 0 deletions