Review findings from shdann's Windows run of the new console queue/list
work:
- d3d12_debug_markers (and every GPU harness compiled against the PC
headers) drove lists through the console-shaped proxy, so PC slots past
26 — including the PIX markers at 56-58, which have no console
counterpart — reached unrelated console methods or were dropped.
create_device_proxy gains console_lists: false hands the real
(PC-shaped) list back from CreateCommandList. The GPU tests pass false;
the title path keeps the console default.
- queue_proxy asserted E_NOTIMPL for the queue's console tail, but those
slots deliberately answer S_OK now — frame pacing flows through them.
The test's contract is updated; the fence tail stays refused.
- ChildProxy::queue_layout was a plain unsigned char read and written
from many threads; it is atomic like the device-wide detection it
caches.
xs_proxy_mock_test and loader_test pass under Wine; the modified test
objects compile clean under clang-cl. The GPU harnesses need a real
adapter — covered by shdann's Windows run.
Generated with [Devin](https://devin.ai)
Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
The layer and model() share uav_clear::encode, so "the layer matches
uav_clear.h" proved nothing and the previous loop excused any mismatch on
any adapter. Report a host quirk only for an Intel adapter (vendorID
0x8086), R11G11B10_FLOAT, host bytes equal to the clear clamped to [0, 1],
and layer bytes equal to model(); everything else is compared with the
host as before. The message names the first differing byte.
AI-assisted (Claude Code).
Intel's D3D12 on Xe-LP (32.0.101.7092) writes the R11G11B10_FLOAT clear
(1.0, 2.0, 0.5) as 0x701e03c0 (G = 1.0, as if clamped to [0, 1]); the
layer, uav_clear.h and NVIDIA's D3D12 give 0x702003c0. Check each supported
case against model() too: when the host differs from it and the layer
matches it, report a host quirk and don't count the case, as
d3d12_depth24_compare.h does. A layer that differs from uav_clear.h still
fails.
AI-assisted (Claude Code).
CreateUnorderedAccessView on a buffer with a typed Format writes a typed V# (GFX10_FORMAT code, element size as
stride, element count, OOB_SELECT structured, the format's own DST_SEL), and a structured view with pCounterResource +
CounterOffsetInBytes writes a second raw 4-byte V# in the upper 16 bytes of the slot (a hypothesis for the console
contract, documented in section 3.4). The combinations D3D12 documents as invalid leave a null slot.
d3d12_buffer_uav_test runs two hand-written RDNA2 compute shaders through the translator (typed store/load/atomic on
five formats with NUM_RECORDS as the bound; append by 256 lanes and consume by 128 on a counter at offset 4096, read
back with CopyBufferRegion) against a CPU reference, then compares typed-buffer and counter clears with the host D3D12
runtime on the same adapter (LUID).
Depends on: #1791
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>