Commit Graph

6 Commits

Author SHA1 Message Date
9bc4674296 Merge pull request #1796 from Vonsek 2026-11-22 09:15:24 -05:00
34d3225e26 fix(runtime): trace graphics pipeline setup
Record pipeline and root-signature bindings so the boot trace shows whether both setup calls reached the command list.
2026-11-22 15:12:57 +01:00
8c0738cf44 fix(runtime): include graphics draws in the D3D12 trace
The first draw can currently be invisible in a boot trace. Record both public draw entry points even before the command list has a graphics pipeline.
2026-11-22 14:36:11 +01:00
16e6c330cd Runtime: trace debug markers by name; trace test uses a method still unsupported
SetMarker/BeginEvent/EndEvent on lists and queues are implemented now, so
they record a 'called' trace entry (the name only, never the label), and
the d3d12_trace check takes SetProtectedResourceSession as its example of
an unsupported call. The synthetic label still must not reach the trace.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 04:05:36 +00:00
4e1de429fd Runtime: add opt-in D3D12 call tracing 2026-11-22 03:07:36 +01:00
55af930bcc runtime: add public ID3D12GraphicsCommandList8 to the D3D12 proxy
The command list implements the SDK's GCL8 chain (IID ee936ef9-599d-4d28-938e-23c4ad05ce51), so a GCL8 QueryInterface succeeds and slot 81 (byte offset 0x288) is OMSetFrontAndBackStencilRef(UINT, UINT). The method records both values on the list and Reset clears them. Nothing applies them yet: Vulkan's dynamic stencil reference is per face, but only a pipeline that consumes it can, and the layer has no pipeline or draw path. The call is reported once rather than silently dropped.

d3d12_gcl8_test creates only an allocator and a list (no Vulkan device), checks the interface pointer, the raw slot 81 call, both recorded values and the QueryInterface reference count. It runs under CTest.
2026-11-21 20:30:33 +00:00