Repository navigation
Description
The Xbox D3D12 → Vulkan layer in one place: what's done, who builds what, and what waits for what. It's the busiest area of the project (about 20 items and 10 people), so it gets its own page. Rules and the claim commands are in #4257; claims for D3D- items can be posted here or there. The plan and milestones are in docs/d3d12_vulkan.md.
Updated 2026-11-23 00:37 UTC by the coordinator (@KoertLichtendonk); corrections are welcome as comments.
Critical path
Most layer work builds on these PRs. Reviewing and testing them first (Windows, MSVC and a Vulkan GPU) unblocks the most people.
- Runtime: Vulkan-backed ID3D12Device behind the Xbox-ABI proxy: copies, presentation (M0), compute path #119 (
Ryx69): the Vulkan-backed device, copies, presentation and the base of the compute path. Partly merged; its newer commits (head5796549) are what most layer PRs below build on. - Runtime: compute path and graphics draws on Vulkan (D3D-3, D3D-4, milestone M1) #291 (
Ryx69): compute path and graphics draws, milestone M1 (D3D-3, D3D-4). Depends on Runtime: Vulkan-backed ID3D12Device behind the Xbox-ABI proxy: copies, presentation (M0), compute path #119; about +3,900 lines in 23 files. - Built on Runtime: Vulkan-backed ID3D12Device behind the Xbox-ABI proxy: copies, presentation (M0), compute path #119/Runtime: compute path and graphics draws on Vulkan (D3D-3, D3D-4, milestone M1) #291: Runtime: CreateHeap and CreatePlacedResource on the Vulkan layer (D3D-16) #286 heaps and placed resources (D3D-16), DXGI shim in Runtime: DXGI front end over the Vulkan presenter (dxgi.dll shim, D3D-2) Ryx69/Leonida#2 (D3D-2), device wiring of the bindless descriptors (D3D-5; Runtime: GFX10 descriptor codec, bindless set 0 and CopyDescriptors (M2, first part) #230 merged), copy and compute queues (Runtime: D3D12 copy and compute queues on their own Vulkan queues (D3D-21) #306, D3D-21), mesh shaders (D3D-29), render passes (D3D-27).
Up for grabs
Unclaimed D3D- items, most useful first. ⭐ = good first task. None of them needs game files.
| ID | What | Why it matters | Needs | Size |
|---|---|---|---|---|
| ⭐ D3D-445 | Console command-list proxy: normalise the newer-runtime +2 slot shift of the list tail (CopyTextureRegionX at 85 vs 83, pairs through 96→94; docs/d3d12_xs_console_abi.md §5.3) so diagnostic slot names don't mislabel newer-layout calls; the queue proxy's fence-detection rule could feed a device-wide layout flag (found by NolanCotter) (see #3381 (comment)) |
tail methods log under the wrong name on the newer layout, and will matter once one gets a PC equivalent | C++; no game files (confirming which layout a real title uses needs the runtime) | S |
Blocked, not up for grabs yet: D3D-411 ResolveSubresource with a Format other than both textures' own (e.g. a typeless 4x target resolved as sRGB) fails on the layer: d3d12_com.cpp:504 drops the format and prepare_resolve (vulkan_replay.h:1748) refuses differing Vulkan formats, while the PC runtime accepts both cases. Needs a design choice by the layer's owners (view-format resolve vs. a shader resolve) (waits for a design decision on #313).
Who builds what
| ID | Item | Owner | PR | Status |
|---|---|---|---|---|
| D3D-3 | Compute path: shader lookup by FSSM hash, root signatures,… | Ryx69, TheHoracio, AlxcBTW |
#291 merged, #819, #831 merged, #848, #873, #1489 merged, #907 closed | #291 with D3D-4; mergeable; the split is agr… |
| D3D-8 | CBV/SRV/UAV/sampler views, GetGPUVirtualAddress, command… |
0xTehuti |
#157 | PR open (conflicts); per aslan2142, its buf… |
| D3D-17 | ExecuteIndirect with simple command signatures (draw, dra… |
mrb-eel |
#317, #743 merged, #1339 merged | draft #317 (mrb-eel): fixed-count indirect… |
| D3D-27 | Render passes: BeginRenderPass/EndRenderPass on dynamic… |
opit80 |
#2064 | |
| D3D-29 | Mesh shaders on the layer: CreatePipelineState (pipeline… |
LloydNicholson, zneel |
#1712, #3777 | |
| D3D-32 | Variable rate shading: RSSetShadingRate/`RSSetShadingRate… |
ezwinxdlmao, 0xTehuti |
#469, #519 closed | #469; 0xTehuti closed #519 for it, tested a… |
| D3D-34 | Pipeline library and shader cache: CreatePipelineLibrary,… |
mrb-eel, al3xar |
#367 draft, #2167 on main | draft #367: use the pipeline cache the build… |
| D3D-38 | Per-type descriptor slot sizes and a heap-handle registry (… | kontaktjakubjagiello |
#333 | |
| D3D-39 | CBV/SRV/UAV views as GFX10 descriptors (#334) and a bindles… | kontaktjakubjagiello |
#334, #335 draft | overlaps #157, #328 and #291; Ryx69 invited… |
| D3D-45 | Compare clears with the host runtime: `ClearRenderTargetVie… | NWX10, luisbaker |
#521, #525 merged | #521 (NWX10) and #525 (luisbaker); NWX10… |
| D3D-47 | Compare resolves with the host runtime: `ResolveSubresource… | ToxicmaggotRP |
#493 closed | #493 closed by its author (no merge); Toxic… |
| D3D-48 | Compare fences and queues with the host runtime: Signal/`… |
luisbaker |
#497 | |
| D3D-52 | GetResourceAllocationInfo with a host comparison test (ag… |
ray3242 |
#450 closed, #517 closed, #522 closed, #526 closed, #631 closed | #327 already implements these three methods… |
| D3D-54 | Synthetic draw from an UPLOAD-heap vertex/index buffer and… | VictorJulianiR |
#653 | #653; woreksami closed #648, tested #653 on… |
| D3D-57 | Primitive restart: the PSO's IBStripCutValue on dynamic p… |
ezwinxdlmao |
#572 closed | #572; Depends on: #291, #469 |
| D3D-58 | Wave64/wave32 subgroup size control in PSOs (required subgr… | AlxcBTW |
#609 closed | draft #609 (Depends on: #291) |
| D3D-63 | 1D textures and 1D arrays: CheckFeatureSupport reports `T… |
Ayinaki |
#561 closed, #693 closed | |
| D3D-68 | B5G5R5A1_UNORM sampled textures and copy footprints (spli… |
VictorJulianiR |
#617 closed | #617, stacked on #562 |
| D3D-69 | ClearRenderTargetView on a TYPELESS resource through a vi… |
NWX10 |
#621 closed | #621, stacked on #521 and #589 |
| D3D-71 | Default-heap buffers are not zero-filled yet: D3D12 committ… | ismailchaka1 |
#655 | #655 (ismailchaka1, Depends on: #291); Spo… |
| D3D-78 | Unordered-access views of 3D, 1D and 1D-array textures (onl… | guimsolutions |
#773 | |
| D3D-79 | Depth-stencil views of 1D and 1D-array textures (after #561… | ismailchaka1 |
#684 closed | #684 (ismailchaka1, draft, Depends on: #561… |
| D3D-86 | CheckFeatureSupport: OPTIONS2–5, 7, 9, 11, 13–16, 18–21 (… |
JavierBlanco23, Proudnoob4, AlxcBTW |
#775 merged, #745 merged, #469, #715 merged, #693 closed, #706 merged, #816 merged, #855 merged, #1623 closed | |
| D3D-88 | Aliasing: placed textures that share a heap range, and alia… | BACONMANXDGOD |
#770 | #770 (Depends on: #286); 14/14 answers match… |
| D3D-103 | new D3D item on #291's pipelines — `DepthClipEnable = FALSE… | ismailchaka1 |
#813 closed | |
| D3D-108 | eight D3D12 GPU tests are built but never registered with c… | quackottu |
#883 closed | |
| D3D-112 | sampled color Texture2DArray SRVs ignore ResourceMinLODClam… | Vonsek |
#974 closed | |
| D3D-132 | D3D12_QUERY_HEAP_TYPE_PIPELINE_STATISTICS1 (mesh and ampl… |
itsRevela |
#2870 draft, #1712 | #2870 is a draft until rebuilt on #2359 (D3D… |
| D3D-136 | Console-order command-list proxy (`docs/d3d12_command_objec… | quackottu |
#1325 draft, #1270 merged | opens as a draft with Depends on: BUILD-23… |
| D3D-163 | CopyTiles on the command list (tiled resources), not impl… |
quackottu |
— | |
| D3D-164 | RSSetDepthBias (ID3D12GraphicsCommandList9, the console `… |
abilliontokens |
#1451 | |
| D3D-174 | D24_UNORM_S8_UINT/R24G8_TYPELESS on AMD: `FORMAT_SUPPOR… |
hosienzade45 |
#1513 closed | |
| D3D-179 | RGB9E5 multisampled resource creation and resolve on device… | Vonsek |
#1614 closed | |
| D3D-197 | fix(vulkan): release old VkSwapchainKHR via RAII guard on e… | totonicpu |
#1613 closed | #1560 (hosienzade45) keeps the old swapchai… |
| D3D-203 | new D3D-97 follow-up — make deferred-resource retirement sa… | kovaaper |
— | claimed in the tracker (mentions #1404) |
| D3D-204 | support read-only depth-stencil views (`D3D12_DSV_FLAG_READ… | Vonsek |
#1644 | |
| D3D-207 | the layer does not clamp a pixel's final depth to the viewp… | nightmoon1996 |
#1703 | |
| D3D-217 | ID3D12Device4::CreateHeap1 and `ID3D12GraphicsCommandList… |
dracbat |
#1846 | |
| D3D-231 | d3d12_indirect_zero is registered without `SKIP_RETURN_CO… |
Ege-Mert |
#1778 closed | |
| D3D-233 | feat(runtime): add D3D12 CBV/SRV/UAV buffer views (#895 reb… | — | #1952 closed | #1779 was reverted, so buffer UAV views are… |
| D3D-244 | replace the full LayoutTracker copy (`auto next_tracker =… |
emirhan-karaca |
#1872 | |
| D3D-248 | Runtime: milestone M5 synthetic gate (without mesh) — Execu… | AlxcBTW, zneel |
#1865, #3777 | #1865 (AlxcBTW) also fixes indirect draws d… |
| D3D-251 | 64-bit atomics on typed resources: the layer answers `D3D12… | opit80, requiemsnkrp |
#2033, #2058 | |
| D3D-253 | add Vulkan heap-budget reporting with VK_EXT_memory_budget,… | wiverlord78 |
#2827 draft | |
| D3D-255 | serialize VulkanContext::remove_resource() with `tracker_… |
emirhan-karaca |
#1920 | #1920 (emirhan-karaca) |
| D3D-264 | DRED-style device-lost diagnostics on the Vulkan layer (aut… | AimLogin |
#3293 draft | |
| D3D-271 | shrink detail::Prepared, the per-command entry `prepare()… |
traeb0n |
#2123 closed | |
| D3D-282 | Runtime: PresentX planes — scaled/placed plane 0, alpha-ble… | AlxcBTW |
#2069 on main | |
| D3D-283 | Runtime: ExecuteIndirect with multi-argument command signat… | AlxcBTW |
#2077 draft | |
| D3D-285 | D3D-20 follow-up — sparse tile mappings for reserved 2D tex… | gabrielsteglich |
#2382 draft | |
| D3D-286 | kapitche's finding 1 (https://github.com/ItsNotRexed/Leoni… |
catrix-rgb |
— | claimed by catrix-rgb, then dea7hsmiless;… |
| D3D-287 | d3d12, dxgi: isolate shims from host System32 and expose Vu… | SHAURYASANYAL3 |
#2098 | |
| D3D-289 | Recording a draw costs about 155-160 ns and 4 heap allocati… | requiemsnkrp, shadshuvo |
#2471, #2483 merged | |
| D3D-290 | new D3D item (D3D-34 follow-up, paired with merged #1772… |
al3xar |
— | claimed in the tracker (mentions #1772) |
| D3D-291 | A PIPELINE_STATISTICS query open around DispatchMesh tr… |
LloydNicholson |
#2359 | LloydNicholson (first refusal, next to #171… |
| D3D-294 | CreateCommandAllocator, CreateCommandList and `CreateCo… |
dev-ewann |
#2297 | |
| D3D-296 | new runtime follow-up — fix IDXGISwapChain::GetDevice for D… | edupode |
— | |
| D3D-299 | Log once when a resource that doesn't fit in device-local m… | 0xTehuti |
#2591 on main | |
| D3D-302 | Stream-output and mesh-shader query statistics: `D3D12_QUER… | TheHoracio, justr4mzi |
#2562 | |
| D3D-303 | d3d12_vulkan_device_test on an RX 7600 under Windows 10. | iasmitionsalvatore |
#2498 | |
| D3D-304 | ID3D12Resource1/ID3D12Resource2 and ID3D12Heap1 on th… |
nightmoon1996 |
#2590 | |
| D3D-305 | index and vertex reads past a view's SizeInBytes should r… |
nightmoon1996 |
#2676 | |
| D3D-309 | D24_UNORM_S8_UINT backed by Vulkan D32S8 (AMD and other G… |
JustDownTV |
#3797 | |
| D3D-313 | implement IDXGIAdapter::EnumOutputs, IDXGIOutput..`IDXG… |
nightsale |
#2976 | |
| D3D-314 | Bindless table flushes wait for the whole device: when a fl… | AlxcBTW, requiemsnkrp |
#2740, #2756 | two PRs: #2740 (AlxcBTW, who claimed first)… |
| D3D-315 | Root signatures over 32 user dwords are refused (pack();… |
TortitasT |
#4163 | #4163 (TortitasT): census found no root-sig… |
| D3D-316 | Detile step for console-tiled textures: resources created t… | 0xTehuti, s0las16 |
#2693 merged, #2706 | #2693 (s0las16); 0xTehuti claimed it first… |
| D3D-317 | IDXGIFactory::CreateSwapChainForHwnd refuses what the hos… |
dev-ewann |
#3531 | |
| D3D-319 | d3d12_compute flaky on a Mac under Wine (MoltenVK 1.4.3). |
Jolymmiles |
#3023 | |
| D3D-321 | cross-queue Wait-before-Signal with resource handover.… | AlxcBTW |
#2951 on main | #2951 (AlxcBTW); kacper-serewis: 4/4 exact… |
| D3D-322 | new D3D item VulkanContext::buffer_at (`runtime/src/vulk… |
jsthope |
#2823 on main | |
| D3D-324 | replay opens a vkCmdBeginRendering/vkCmdEndRendering sc… |
jsthope |
#3346 | |
| D3D-325 | Native D24/D16 depth bias is up to 2× D3D's on NVIDIA: the… | UlteriorMotive00 |
#2718 | UlteriorMotive00 found it (RTX 5070: +3/−5/… |
| D3D-326 | new D3D item (D3D-18 / #1277 follow-up, `docs/d3d12_vulkan.… | LocranKing |
#3019 | |
| D3D-327 | independent native Windows D3D12 versus parent/head depth-b… | kacper-serewis |
— | claimed in the tracker (mentions #2718) |
| D3D-331 | ID3D12Device10 resource creation validation parity (`Crea… |
Wasler |
#2847 | |
| D3D-332 | IDXGISwapChain2::SetSourceSize answers S_OK and ignores i… |
bobcatchris |
#2808 | |
| D3D-334 | self-sourced cleanup — dead --verbose in `tools/analyze_4… |
Koro4e |
#2843 on main | #2843 (Koro4e); its duplicate open-question… |
| D3D-336 | Runtime: MakeResident, Evict, SetResidencyPriority and Enqu… | mrp1no |
#2864, #3164 | |
| D3D-337 | self-sourced docs cleanup — superseded M2 milestone row and… | Koro4e |
#2871 on main | |
| D3D-338 | new D3D follow-up — budget-aware memory placement for ordin… | gabrielsteglich |
#2955 draft | |
| D3D-339 | Pipeline-statistics queries around mesh draws over-report o… | phalstead |
— | |
| D3D-340 | move the copy/resolve fields out of detail::Prepared (`ru… |
traeb0n |
#2928 | |
| D3D-341 | d3d12: a pipeline registers its shaders' literal S#s (they… | rafaelpssz |
#2887 | |
| D3D-346 | query commands prepare without allocating. | traeb0n |
#2969 | |
| D3D-347 | GetResourceTiling reports nothing for a 96-bit (`R32G32B3… |
requiemsnkrp |
#3037 | |
| D3D-352 | investigate and correct the FORMAT_SUPPORT1_BUFFER positive… | kacper-serewis |
#3003 merged, #2786 draft | |
| D3D-353 | d3d12_ia_bounds case E diverges on RDNA2 with 128-byte pu… |
zGLados |
#3167 | |
| D3D-354 | textures in CPU-visible heaps fail to create on a GTX 1050… | gustavorafaelschmidt |
#3077 | |
| D3D-355 | CreatePipelineLibrary and ID3D12PipelineLibrary(1) answ… |
mrp1no |
#3089 | |
| D3D-356 | rt::rootsig::pack (with the root-argument writes in `runt… |
omardev29 |
— | |
| D3D-359 | ID3D12Resource::GetHeapProperties answers as the host run… |
mrp1no |
— | |
| D3D-363 | two new D3D items in the bundle code (separate PRs, no game… | nightmoon1996 |
#3255 merged, #3298 | |
| D3D-364 | tools/inline_scan.py: answer the open question in `docs/d… |
CLHelper |
#3218 on main | |
| D3D-365 | new D3D12→Vulkan runtime correctness item — fix stale stora… | pmilewsskiedu-gif |
#3270 | |
| D3D-366 | the console-shaped command list (the object the title's inl… | NolanCotter |
— | claimed by NolanCotter; kotorvr offers the… |
| D3D-367 | placed 1D and 3D textures. | ICUMADETHIS |
#3351 | |
| D3D-369 | Recover the four console command-list IIDs still unknown (c… | Kam471 |
#3520 | PR open; mariuslozo-boop posted the command… |
| D3D-370 | new D3D item (DXGI) - `IDXGIObject::SetPrivateData/SetPriva… | kapitche |
#3280 | |
| D3D-371 | new D3D item (DXGI) - `IDXGIFactory2::RegisterStereoStatusW… | kapitche |
#3283 | |
| D3D-374 | the device-proxy part of my finding above (`runtime/shims/d… | kotorvr |
— | |
| D3D-375 | XDXR builder: BOX16 nodes for MINIMIZE_MEMORY BLASes, and T… | zneel |
#3315 | |
| D3D-377 | A command list refused for a forbidden bundle call: the PC… | maxhurst131 |
#3378, #3596 closed | #3378 (maxhurst131); Koro4e opened #3596 f… |
| D3D-378 | A bundle created without a pipeline: on the PC runtime its… | hamada65 |
#3382 | |
| D3D-379 | D3D12 device creation arguments the layer accepts but the h… | kapitche |
#3339 | |
| D3D-380 | ID3D12Device::GetResourceAllocationInfo with a visibleMas… |
kapitche |
#3358 | |
| D3D-381 | ID3D12Resource1 and ID3D12Heap1 are not exposed by the… |
kapitche |
#3374 | |
| D3D-382 | D3D12/Vulkan: fix copies within one texture subresource | s0las16 |
#3348 | |
| D3D-383 | CreateRootSignature on the Vulkan device parses a root si… |
kotorvr |
#3494 | |
| D3D-384 | new original D3D12->Vulkan runtime item -- fixed/simple-sig… | pmilewsskiedu-gif |
#3461 | |
| D3D-385 | separate new Vulkan runtime lifecycle/synchronization item… | pmilewsskiedu-gif |
#3481 | |
| D3D-386 | the device a title gets from D3D12XboxCreateDevice refuse… |
kotorvr |
#3538 | tested on kotorvr:feat/device-idxgidevice… |
| D3D-387 | cross-format CopyTextureRegion into partial block-compresse… | mrb-eel |
#3477 | |
| D3D-388 | Packed vertex semantics give duplicate Vulkan attribute loc… | whattheflop |
#3512, #3403 closed | |
| D3D-389 | The DXGI swapchain can expose more back buffers than reques… | Kam471 |
#3597, #3613 closed | #3597 (Kam471); steamaze0 opened #3613; N… |
| D3D-390 | independent VulkanPresenter swapchain-recreation host synch… | pmilewsskiedu-gif |
#3551 | |
| D3D-391 | Since #2483 (D3D-289, inline draw views) every recorded com… | Ayinaki, TomasVargas22 |
#3693, #3784 | #3693 (Ayinaki) and #3784 (TomasVargas22);… |
| D3D-392 | R24G8_TYPELESS / R32G8X24_TYPELESS textures without `AL… |
gertify |
#3833 | |
| D3D-393 | emit skips draw state that is unchanged since the previous… | traeb0n |
— | |
| D3D-394 | the mesh half of milestone M5 (#1865 is "without mesh"). | zneel |
#3777 | draft #3777 (zneel), stacked on #1712 (D3D-… |
| D3D-395 | D3D12: validate depth-stencil views like render-target views | s0las16 |
#3594 | |
| D3D-396 | new independent D3D12→Vulkan sparse reserved-buffer cross-q… | pmilewsskiedu-gif |
#3652 | |
| D3D-398 | the runtime's own Vulkan device (`create_vulkan_device_stan… | kotorvr |
#3780 | |
| D3D-399 | The single-list replay() helper refuses a list whose occl… |
undeadhuman37 |
#3776, #3804 closed | |
| D3D-400 | two input gaps in BuildRaytracingAccelerationStructure on… |
shelbykb2 |
— | |
| D3D-401 | Extend d3d12_m2_textured_test.cpp with POINT/CLAMP and LINE… | oguzhanozfe |
#3717 | |
| D3D-402 | the address arena ignores the device's buffer limits. | shelbykb2 |
#3865 | |
| D3D-403 | on RDNA2 under Windows a pixel or mesh shader can't be give… | shelbykb2 |
#3982 | |
| D3D-404 | independent D3D12 fence transient-failure retry correctness. | pmilewsskiedu-gif |
#3789 | |
| D3D-405 | follow-up to #2438 (merged), from the review by pwu2775-de… |
MeNoSkills |
#3774 | |
| D3D-406 | Runtime: RTVs in a castable-format list's other channel ord… | SpositoDouglas |
#3781 | |
| D3D-407 | With one graphics queue in the Vulkan driver, the Vulkan-ba… | pmilewsskiedu-gif |
— | claimed by pmilewsskiedu-gif, then SebSile… |
| D3D-408 | A valid D3D12 list containing one command the layer doesn't… | requiemsnkrp |
#3864, #3958 | #3864 (requiemsnkrp) and #3958 (chemokita1… |
| D3D-409 | new docs item on the D3D12 layer — why a placed footprint w… | kotorvr |
#3807 | |
| D3D-410 | The GPU BVH builder's trees take about twice as many traver… | NiiRoZz |
#4098 draft | |
| D3D-412 | Both TLAS builders write an instance's world-to-object matr… | wildheathen |
#4011 | |
| D3D-413 | NEW D3D bindless cross-queue descriptor hash-table publicat… | pmilewsskiedu-gif |
— | |
| D3D-414 | rt::d3d12::create_window_presenter doesn't unwrap the Xbo… |
kotorvr |
#3925 | |
| D3D-415 | NEW D3D GetClockCalibration Vulkan fallback global-submit-l… | pmilewsskiedu-gif |
#3841 | |
| D3D-416 | ArraySize -1 in TEXTURE2DARRAY / TEXTURE2DMSARRAY ren… |
zzEmmazz |
— | |
| D3D-417 | On a Radeon iGPU (gfx1036, AMD 32.0.21042.62) the layer's 4… | zzEmmazz |
#3977, #3835 | PR open; also 4x depth-stencil arrays (D24S8… |
| D3D-418 | d3d12: ArraySize -1 in 2D-array RTVs and DSVs is every slic… | zzEmmazz |
#3835 | |
| D3D-419 | Close() on the layer disagrees with the PC D3D12 runtime… |
kotorvr |
#3933 | |
| D3D-420 | CreateCommandSignature with a root signature, compare… |
mrp1no |
#3929 | |
| D3D-421 | d3d12_clear_test fails on main for D16_UNORM depth cl… |
ToxicmaggotRP |
— | |
| D3D-422 | Run a translated raster draw from a mapped synthetic guest | nschlaepfer |
#3913 | |
| D3D-423 | NEW D3D runtime correctness item (please assign ID): ID3D12… | pmilewsskiedu-gif |
#3969 | |
| D3D-424 | XDXR builds: ARRAY_OF_POINTERS instances and the 16-bit ver… | shelbykb2 |
#3944 | |
| D3D-425 | The opt-in KHR acceleration-structure path (`LEONIDA_RT_AS=… | sds-228 |
#4060, #4105 closed | shelbykb2 waived first refusal (#3918, 23:0… |
| D3D-426 | CheckFeatureSupport(D3D12_FEATURE_D3D12_OPTIONS) with the… |
mariuslozo-boop |
#4026 | |
| D3D-427 | Verify 600 frames, input and save/resume in a mapped synthe… | nschlaepfer |
#3986 | |
| D3D-428 | new D3D item (tooling only) — tools/gen_d3d12_stubs.py `c… |
AAyberkU |
#4016 | |
| D3D-429 | implement ID3D12DeviceChild::GetDevice and default-heap `… |
cixotdev |
#4068 | |
| D3D-430 | new D3D runtime correctness item — legal no-op copies curre… | pmilewsskiedu-gif |
#4038 | |
| D3D-431 | ID3D12CommandQueue::ExecuteCommandLists (`runtime/shims/d… |
Exopus-0x65f7ad0 |
#4061 | |
| D3D-432 | new D3D runtime correctness item — ClearDepthStencilView cu… | pmilewsskiedu-gif |
#4063 | |
| D3D-433 | Implement D3D12 OPTIONS13 unrestricted buffer–texture copy… | gabrielsteglich |
#4107 | |
| D3D-434 | CreateDescriptorHeap with NumDescriptors = 0 and `D3D12… |
Exopus-0x65f7ad0 |
— | |
| D3D-435 | new independent D3D12 runtime correctness item — IASetVerte… | pmilewsskiedu-gif |
#4095 | |
| D3D-436 | ID3D12Heap::GetDesc (`runtime/shims/d3d12_vulkan_device.c… |
Exopus-0x65f7ad0 |
#4088 | |
| D3D-437 | ClearDepthStencilView on a depth-only D32_FLOAT view wi… |
Vonsek |
#4143 | |
| D3D-438 | GetCopyableFootprints (`runtime/shims/d3d12_vulkan_device… |
Exopus-0x65f7ad0 |
— | |
| D3D-439 | d3d12: GetCopyableFootprints wraps a mip shift past 32 as t… | Exopus-0x65f7ad0 |
#4101 | |
| D3D-440 | update README.md's "Want to help?" D3D12 bullet. | sds-228 |
#4118 | |
| D3D-441 | Console command lists: measure the DMA list type's real num… | abilliontokens |
— | |
| D3D-442 | boot trace report of partial D3D12 submissions. | lahlousaad4 |
#4200 | |
| D3D-443 | Preserve reserved-buffer tile mapping order when a D3D12 qu… | gabrielsteglich |
#4224 | |
| D3D-444 | HWND swapchain created with DXGI_SCALING_NONE reports `ST… |
Exopus-0x65f7ad0 |
#4231 | |
| D3D-446 | independent D3D12 CopyTextureRegion PLACED_FOOTPRINT→PLACED… | pmilewsskiedu-gif |
#4253 | |
| D3D-447 | follow-up to D3D-394 / #3777 (Depends on: #3777): run the M… | tedin7 |
#4236 | |
| D3D-448 | rt::rootsig::pack() (runtime/src/root_signature.cpp:8,… |
TortitasT |
— | |
| D3D-449 | runtime: use the barycentric fallback on devices without `V… | DaniSBR1 |
— | |
| D3D-450 | IDXGISwapChain2::SetMatrixTransform/GetMatrixTransform… |
Exopus-0x65f7ad0 |
#4260 | #4260 (Exopus-0x65f7ad0): answers DXGI_ERRO… |
| D3D-451 | Swapchain back buffers (BackBufferResource, `runtime/shim… |
omar-akermi |
— | |
| D3D-452 | IDXGIAdapter::CheckInterfaceSupport(IDXGIDevice) (`runtim… |
Exopus-0x65f7ad0 |
#4273 | |
| D3D-453 | d3d12: the graphics PSO path fails silently when a transl… |
Roberto0953 |
#4276 | |
| D3D-454 | EGEN-PSO-STATE-SWEEP — a differential draw test against the… | Vonsek |
#4288 | |
| D3D-455 | runtime: notify QueueHolds when a held CPU Fence::Signal fi… | cixotdev |
#4282 | |
| D3D-456 | the window presenter's Vulkan swapchain is created with onl… | erickbobd |
— | |
| D3D-457 | Runtime: prototype opt-in Tier 3 InnerCoverage and GPU comp… | 73N1X |
#4290 draft |
Comparison tests
Once a method exists, the next step is checking it against the host PC runtime (or WARP), as GetCopyableFootprints, GetResourceAllocationInfo and the UINT clears already are: the same answers, the same errors, the same pixels. Those comparison items are in Up for grabs above; they need Windows and a GPU, no game files.
Method coverage
D3D12 methods of the interfaces the runtime implements, counted from the SDK's d3d12.h against STDMETHODCALLTYPE overrides in runtime/ on main and in open PRs. "Open" methods log as unimplemented and return a failure. In the objects table, a PR stacked on another one (for example on #291) counts the objects it carries along.
| Interface | Methods | On main |
In open PRs | Open |
|---|---|---|---|---|
ID3D12Device11 |
77 | 61 | 3 | 13 |
ID3D12GraphicsCommandList8 |
79 | 62 | 8 | 9 |
ID3D12CommandQueue |
16 | 16 | 0 | 0 |
ID3D12CommandAllocator |
6 | 6 | 0 | 0 |
ID3D12Fence1 |
9 | 9 | 0 | 0 |
ID3D12DescriptorHeap |
8 | 8 | 0 | 0 |
ID3D12Resource |
12 | 12 | 0 | 0 |
Objects the layer has to create, beyond those above:
| Interface | Needed for | On main |
In open PRs |
|---|---|---|---|
ID3D12PipelineState |
PSOs (D3D-3/D3D-4) | yes | — |
ID3D12RootSignature |
root signatures | yes | — |
ID3D12QueryHeap |
queries (D3D-15) | yes | — |
ID3D12Heap |
heaps and placed resources (D3D-16) | yes | — |
ID3D12CommandSignature |
ExecuteIndirect (D3D-17) |
yes | — |
ID3D12PipelineLibrary1 |
pipeline libraries (D3D-34) | no | #1772 |
ID3D12StateObject |
ray tracing (not planned yet) | no | — |
Not planned until the game's trace shows them: shared handles and OpenExistingHeap*, protected resource sessions, meta commands, sampler feedback, lifetime trackers, RemoveDevice, CheckDriverMatchingIdentifier, view instancing (SetViewInstanceMask; ViewInstancingTier is reported as not supported), the shader cache (CreateShaderCacheSession, ShaderCacheControl), stream output (SOSetTargets, waits for SHADER-16's counts), CopyTiles, and the ray-tracing calls (CreateStateObject, AddToStateObject, SetPipelineState1, BuildRaytracingAccelerationStructure, DispatchRays, milestone M6, see RT-4 and ASSET-23). The table counts up to ID3D12Device11 and ID3D12GraphicsCommandList8, the interfaces runtime/CMakeLists.txt generates; ID3D12Device12–14 and ID3D12GraphicsCommandList9/10 answer E_NOINTERFACE (List9 is #1451, D3D-164; List10 is work graphs, reported unsupported). Corrections from throny.
Decisions for the maintainer
- Review order: Runtime: Vulkan-backed ID3D12Device behind the Xbox-ABI proxy: copies, presentation (M0), compute path #119 first, then Runtime: compute path and graphics draws on Vulkan (D3D-3, D3D-4, milestone M1) #291. Most of the layer PRs build on them.
- Runtime: implement root-signature packer, reconciler and hard-fail #138's root-signature packer (merged) and the root-signature code in Runtime: compute path and graphics draws on Vulkan (D3D-3, D3D-4, milestone M1) #291: keep one or both.
Activity
Docs: point CONTRIBUTING.md and AGENTS.md at ItsNotRexed#313 for the …
Ryx69 commentedon Nov 21, 2026
i will take D3D-29 and D3D-27 for now!
KoertLichtendonk commentedon Nov 21, 2026
Descriptors: four overlapping PRs. @kontaktjakubjagiello @aslan2142 @0xTehuti @Ryx69, there are now several PRs for the same pieces:
mainor openCopyDescriptorsSetDescriptorHeapsin the command list, bindless index allocation#333 looks new. @kontaktjakubjagiello, could you compare #334 and #335 with #328, #157 and #291 here before going further, and keep what they lack? The rest could become reviews of those PRs. One suggestion for the split: #328 for textures and samplers, #157's V# code in #328's buffer branch for buffer views, #291 for the command-list binding, and #333 on top of all three.
73N1X commentedon Nov 21, 2026
Coordination note: my RGBA8 typeless RTV clear work is already claimed in #156:
#156 (comment)
Phase 1 is locally implemented and validated, but no PR is open: it waits for D3D-36 / #318 to be integrated, then will be based directly on main. It preserves explicit UNORM/SRGB/UINT RTV formats on one-mip, one-layer, single-sample 2D RGBA8 typeless resources. It does not implement BeginRenderPass/EndRenderPass (D3D-27), DispatchMesh (D3D-29), or bindless SRV/UAV/sampler descriptors.
Compatibility check against the current #333 diff: my TargetView format field still fits its 32-byte RTV/DSV slots. I do not change descriptor strides, heap registration or CopyDescriptors. If #333 lands first, the typeless patch will retain its per-type slot checks and registry rather than restore the old shared-size implementation. The shared edit surface is d3d12_vulkan_device.cpp; the scopes are different.
The clear implementation uses a short dynamic-rendering scope internally when the RTV reinterprets the image format. I will compare that path with D3D-27 when its implementation is available, so its render-pass work can reuse the same typed-view interpretation without duplicating it.
Mip/array RTV expansion will be a separate phase after phase 1 is integrated. No phase-2 implementation PR is being stacked on the pending bases. Please flag any overlap not covered by the current tables.
aslan2142 commentedon Nov 21, 2026
@KoertLichtendonk The suggested split works for me: #328 for texture views and samplers, #157's V# code in its buffer branch, #291 for the command-list binding, #333 on top.
@kontaktjakubjagiello #333 keeps every slot at 32 bytes, so it does not change what #328 writes (a T# is 32 bytes, an S# is 16 bytes in a 32-byte slot). The two only conflict textually in
d3d12_vulkan_device.cpp. I can rebase #328 if #333 lands first.@Ryx69 #291 still refuses shaders with set-0 bindings in two places. Once #328 is in, the hookup is
rt::d3d12::bindless_set_layoutin the pipeline layout andbindless_setbound before the dispatch or draw. I can send that as a follow-up with an end-to-end test, or you can fold it into #291.AI-assisted (Claude Code, Claude Fable 5.2).
KoertLichtendonk commentedon Nov 21, 2026
@kontaktjakubjagiello @Ryx69: since the comment above, #335 has also gained the draw path:
SetPipelineState, root signatures,DrawInstanced/DrawIndexedInstancedand replay. That's the core of #291 (D3D-3/D3D-4, @Ryx69), which is mergeable and is the critical path everything else builds on. @aslan2142 agreed to the split above. @kontaktjakubjagiello, could you hold #335 at the bindless allocator and the table scan, compare the rest with #291 here, and offer what #291 lacks (yourfirst_draw_test, for example) as a review or a test of #291?Ryx69 commentedon Nov 21, 2026
Thanks both, the split works for me.
@aslan2142 please send the set-0 hookup as a follow-up (Depends on: #291, #328) rather than folding it into #291. That way #291 can land now without waiting on #328. The two refusals you mean are the uses set-0 bindings checks in d3d12_vulkan_device.cpp, one in compute PSO creation and one in graphics. Your PR can drop both once the layout carries set 0.
@kontaktjakubjagiello a review of #291 against #335 is welcome. If first_draw_test covers something #291's tests don't, I'm happy to take it into #291 as a test or have it land right after.
73N1X commentedon Nov 21, 2026
done: D3D-41 #388
#318 is integrated, so phase 1 is now rebased directly onto main (d7cbc3e) and submitted as one typeless-only commit. Full runtime build and CTest 19/19 passed, along with 13 typeless WARP readbacks, 19 CPU scenarios, 12 invalid descriptor rejections and six GPU regression executables under validation. The PR links the original #156 claim and the #333/D3D-27 compatibility note. Mip/array expansion remains outside #388 and will wait for this phase to be integrated.
KoertLichtendonk commentedon Nov 21, 2026
Order for the five PRs editing
d3d12_vulkan_device.cpp, as @ItsNotRexed asked in the merge-round note (posted in #156). A suggestion based on the split agreed above; authors, please say here if you'd rather have it otherwise:WriteToSubresource/ReadFromSubresource): small and independent of the descriptor work, so it rebases first.GetResourceAllocationInfomethods, so Runtime: implement GetResourceAllocationInfo, GetResourceAllocationInfo1/2 (D3D-22) #329 can probably close. If it has something Runtime: GetResourceAllocationInfo on the Vulkan device (D3D-23) #327 lacks, a small follow-up on top ofmainis easier.Separately, #291 (@Ryx69) stays the critical path and lands independently of these. @aslan2142's set-0 hookup follows after #291 and #328.
Parakeet-Wheat commentedon Nov 21, 2026
@KoertLichtendonk thanks for the order, it works for me.
#288 (D3D-22,
WriteToSubresource/ReadFromSubresource) is rebased ontomainatd937b7fand mergeable again (head74c99af). Texture creation now uses #327'stexture_create_infoand adds the host transfer usage on top. Retested on an RTX 3070: ctest 18/18, both copy paths (host image copy and staging) and the allocation info comparison pass with zero validation errors. @aslan2142, #328 can go next whenever you're ready.#258 (D3D-18,
SetPredication) is rebased too (head96f113a). It doesn't touch the descriptor work. Its replay test is now part E, aftermain's new barrier test (part D).AI-assisted (Claude Code).
KoertLichtendonk commentedon Nov 21, 2026
New work for the layer: comparison tests. Almost every D3D12 item here is claimed, so Up for grabs above now has seven items (D3D-45 to D3D-51) that check what already exists against the host PC runtime or WARP: the same pixels for clears, copies and resolves; the same behaviour for fences and queues; the same errors for invalid arguments,
CheckFeatureSupportand command-list misuse.GetCopyableFootprints,GetResourceAllocationInfoand the UINT clears already work this way (create_host_device()inruntime/test/d3d12_vulkan_device_test.cpp). Windows and a GPU are enough; no game files. Four of them are small first tasks.The method coverage also gained an objects table: none of pipeline state, root signature, query heap, heap or command signature exists on
mainyet. They come with #291, #286, #278 and #317, and the pipeline library and state object exist nowhere.0xTehuti commentedon Nov 21, 2026
claiming: D3D-32 (
RSSetShadingRate/RSSetShadingRateImageonVK_KHR_fragment_shading_rate), posted in #374 as well.I will map D3D12 shading rates (1x1, 1x2, 2x1, 2x2, 2x4, 4x2, 4x4) and combiners to
vkCmdSetFragmentShadingRateKHR, record/replay them on the Vulkan command list, validate feature support viaCheckFeatureSupport, and add synthetic test coverage. Tested on Windows 11 with an NVIDIA RTX 2070 SUPER. AI-assisted.ToxicmaggotRP commentedon Nov 21, 2026
claiming: D3D-47 — compare resolves with the host runtime
The existing Vulkan device test covers basic
ResolveSubresourceandResolveSubresourceRegionbehavior, but its resolve coverage is limited mainly to 4x MSAA withR8G8B8A8_UNORM.I will extend
runtime/test/d3d12_vulkan_device_test.cppto compare the Vulkan-backed D3D12 implementation against the host Windows D3D12 runtime.Scope:
ResolveSubresourceacross multiple supported color formats and MSAA sample counts.ResolveSubresourceRegioncoverage for source rectangles, destination offsets and null rectangles.Testing will use synthetic textures and the host D3D12 runtime, with no retail game files or game shaders.
Hardware: NVIDIA RTX 4060 Ti, Windows 11, Vulkan.
AI-assisted.
Aminecsmc commentedon Nov 22, 2026
claiming: D3D-51
Command-list rules like the host runtime: Close twice, Reset while recording, executing an open list, and reusing an allocator that is in flight. I'll extend
create_host_device()inruntime/test/d3d12_vulkan_device_test.cppso each case runs on both the host D3D12 runtime and the Vulkan layer, and fix the layer where its HRESULT differs. No game files. Tested on an RTX 3050 Laptop (Windows 11). AI-assisted (Claude Code).KoertLichtendonk commentedon Nov 22, 2026
A landing plan for the critical path. @Ryx69 @ItsNotRexed
#119 and #291 are the oldest open PRs (#119 is over four hours old), and both conflict with
mainagain after every merge round. A growing stack of work builds on them:Every round they slip further behind, and the rebases for everyone above them get bigger. A suggestion:
main. If it helps, fold Runtime: Vulkan-backed ID3D12Device behind the Xbox-ABI proxy: copies, presentation (M0), compute path #119's remaining commits into Runtime: compute path and graphics draws on Vulkan (D3D-3, D3D-4, milestone M1) #291, so there is one PR. Then say "ready" here.d3d12_vulkan_device.cpp,d3d12_com.cpp,command_list.horvulkan_replay.h. Hold those until both are in, so the two don't need yet another rebase.maininstead of Runtime: compute path and graphics draws on Vulkan (D3D-3, D3D-4, milestone M1) #291's head. The stack becomes ordinary PRs, and the review queue in Coordinating who works on what (2) (moved to #634) #374 picks them up.If #291 is too large to review in one go (about +3,900 lines), splitting it into the compute path and the graphics draws would also work. @Ryx69, your call.
Also: #450 (@ray3242) implements
GetResourceAllocationInfowith a host comparison test. #327 already did exactly that and is merged (D3D-23), so #450 can probably close. If its test covers cases #327's doesn't, a small follow-up adding just those is easier.148 remaining items
L-696 commentedon Nov 22, 2026
D3D-56 descriptor lookup measurements on RTX 4060 Laptop, NVIDIA 621.01
I ran
vk_descriptor_benchfrom Leonida commitf847748cc76bd3777f9c070c4034eb2fc1c04e64on Windows 11 Pro 24H2 (26100.7171), i7-13650HX, NVIDIA GeForce RTX 4060 Laptop GPU (10de:28e0), Vulkan 1.4.357, subgroup 32..32. This supplements the shader results already posted for this GPU/driver in #166. The workload uses synthetic descriptor tables and compute shaders.Result. Self-test passed. Quick profile returned 66 timing rows, the default full profile 99, and an independent 100k device-local repeat 11. All three processes exited 0, all rows reported
timing_status=ok, and the benchmark reported no CPU/GPU lookup mismatches. The three emitted SPIR-V modules passed SPIRV-Tools v2026.1 with target environment vulkan1.2. Vulkan validation layers were not requested.100,000 entries. Net GPU microseconds per million lookups as reported by the tool, after baseline subtraction. The 524,288-slot table occupied 20 MiB. Each value is taken from a single benchmark run; the independent repeat is shown separately.
In the two device-local runs the divergent-hit medians were 3.920 and 3.925 ms. The divergent-miss medians were 35.271 and 32.463 ms. Power and clocks were not locked or logged. The benchmark auto-scaled three host-visible rows, including the 100k divergent miss (13 iterations, 9 reps). See the CSV for actual iterations, repetitions, gross time and net cost. These are descriptor lookup measurements only.
Reproduction. From the pinned Leonida revision, build the existing
vk_descriptor_benchtarget. For this measurement the unmodified standalone translation unit was compiled with x64 MSVC 14.50.35717 using/std:c++20 /O2 /EHsc /utf-8 /DNOMINMAX /DWIN32_LEAN_AND_MEANand the CMake-pinned Khronos Vulkan-Headers revision6802bb4733b63ed5efd3adb308a6c885ef180ea1. All selected source/header Git blob hashes were checked. From the binary directory in PowerShell:AI-assisted local build, execution and reporting. Raw CSVs below.
descriptor-full.csv
descriptor-repeat.csv
requiemsnkrp commentedon Nov 22, 2026
done: D3D-408 #3864
shelbykb2 commentedon Nov 22, 2026
done: the arena claim (comment) is two PRs. #3865 caps the GPU address arena at the device's
maxBufferSizeandmaxMemoryAllocationSize(2 GiB each on an RX 6800, AMD 26.11.2;LEONIDA_ARENA_MB=3000under validation went from 2 errors to none; ctest 146/146). #3875 is the corpus count: 25,865 of 26,503 shaders zero a pointer's high dword, 86,036 pointers, every one a descriptor-table pointer; the count cannot say whether buffers may sit above 4 GiB, and the doc now says that. AI-assisted (Claude Code).dcastell1 commentedon Nov 22, 2026
D3D-329 answered: they are user SGPRs, not system SGPRs — no runtime-supplied constant is needed for the heap base.
Measured on this machine from my own 1.0.2.1 copy (carve → disassemble → translate →
tools/user_sgpr_census.pyplus the per-shaderdescriptor_accessinspirv/index.json). Compute stage, 2,689 shaders, 2,684 with user-SGPR metadata:resource_heap_directly_indexed)table_loads+truncates_table_ptr_highamong the 1,471s4in 1,460 of the 1,471,s5in 9,s9in 2. Nothing belows4is read as a pointer in any heap-indexing shader (s1appears in 94 shaders, all of them non-heap-indexing).ptr32_lo: one SGPR per pointer, high half implicit zero, which is the same thingtruncates_table_ptr_highsays per shader. There is noptr64_hianywhere in the compute corpus except one shader.s4, s5, s10(1,082), thens4, s5, s6(181),s4, s9(123),s4, s5, s8(34),s4, s5, s7(33).s9/s10onwards).Consequence for the layer: the heap base and whatever stride the shader uses arrive as root arguments in user SGPRs starting at s4, so the runtime only has to fill the push-constant/root block it already fills for the other shaders; the translator does not need a new system constant, and the shader-side half of direct heap indexing is already expressible. The remaining unknowns are on the heap side (which slot layout and stride the title writes), not in the shader.
Method and caveats: this is the compute stage of my copy (
gfx1013disassembly,spirv-val-clean modules); the same census over VS/PS/MS would say whether the graphics stages share the s4 start. No shaders, names or bytes left this machine — only these counts and SGPR numbers.tylerstraub commentedon Nov 22, 2026
Replying to @requiemsnkrp.
For D3D-286, the passing runs are worth keeping, but the final diff of #1898 makes it hard to attribute a fix. At main
aa2988cc, the test still checks that the device count reaches 1. The firstpso67.reset()andunknown67.reset()were already present in499c608c. #1898 repeated those resets and added resets forunknownandjunk, both of which the test had already asserted were null. A second reset of the same cleared pointer cannot release another reference.There are conflicting measurements on the same earlier main: the original RTX 4080 SUPER / UHD 770 bisect reports failure at
4eb6155d, while the RTX 4070 check reports 5/5 passes there before #1898. The next discriminating check is a rerun on current main on one of the originally failing hosts. If it still fails, recording the count immediately before and after the first slot-67 reset and at the final assertion would narrow down which reference survives. This update is a source check; the GPU results belong to the linked testers.AI-assisted.
kotorvr commentedon Nov 22, 2026
Question for the D3D12 layer's owners: what should
Closedo with three kinds of call that D3D12 accepts but thelayer can't replay meaningfully?
d3d12_close_parity_test(#3933) measured them on WARP without the debug layer.CloseClosetodayDrawInstanced/Dispatchwith no pipeline state set (count 0 and non-zero)S_OKE_INVALIDARGSetGraphicsRoot32BitConstant/RootConstantBufferView/RootDescriptorTablebefore any root signatureS_OKE_INVALIDARGCopyTextureRegionfrom a placed footprint to a placed footprintS_OKE_INVALIDARGWhy it matters: one failed list fails the whole
ExecuteCommandLists(d3d12_com.cpp, "nothing was submitted"). So,for example, a draw recorded after a pipeline the layer refused to create blanks every list in that submission on
the layer, but not on D3D12.
What the D3D12 debug layer says about the same calls (WARP,
ClosestillS_OKin every case I could run):So on D3D12 these commands are recorded and do nothing.
SetGraphicsRootDescriptorTablewith a null handle before a root signature crashed the process under the debug layer, so I have no reading for it.
Two options:
Close, drop the command at record time, with one log line per list ("draw with no pipeline statedropped", and so on). This matches the PC runtime's verdict and, for the draws, what it does (a no-op pipeline),
and the rest of the submission runs.
docs/d3d12_vulkan.mdas a deliberate difference from the PC runtime. The paritytest keeps these 8 rows marked as known differences.
d3d12_gcl8_test.cpp:89-96asserts option 2's answer for the first two families today. Until this is decided, the 8rows stay marked as known differences in the parity test; whoever implements the choice flips them there.
AI-assisted.
shelbykb2 commentedon Nov 22, 2026
done: the
BuildRaytracingAccelerationStructureinputs claim (comment) is #3944. Top-level builds followD3D12_ELEMENTS_LAYOUT_ARRAY_OF_POINTERS(pointers resolved when the list is prepared, a bad pointer refuses the list before the GPU reads anything), and the XDXR builder decodes the four 16-bit vertex formats. RX 6800, AMD 26.11.2: ctest 145/145, the 42 existing case files byte-identical.finding: the opt-in KHR path (
LEONIDA_RT_AS=khr) still reads anARRAY_OF_POINTERSinstance array as the descs themselves. Where:runtime/src/vulkan_replay.h, the KHRBuildAccelerationStructurebranch setsarrayOfPointers = VK_FALSE. Why it matters: a top-level build through that layout builds from pointer bytes. It is not a one-line change: the pointer values are console VAs, so each needsheap_baseadded before the driver can follow it (a gather like #3944's would do). No game files; any GPU withVK_KHR_acceleration_structure. AI-assisted (Claude Code).NiiRoZz commentedon Nov 22, 2026
claiming: D3D-410. Replace the four-consecutive-keys grouping in
runtime/src/xdxr_build.compwith a parallel Karras/LBVH radix tree over the existing Morton sort, collapsed to four children. I'll measure steps per ray against the current tree onvk_xdxr_build_testand time it on an RDNA2 iGPU and an RTX 5090. #3315 (@zneel) touches the same file, so I'll build on top of it or rebase once it lands. No game files. AI-assisted.tupacfan04 commentedon Nov 22, 2026
status: D3D-286 (
d3d12_computedevice-proxy refcount at teardown, from @kapitche's finding) doesn't reproduce on an RTX 5070 (driver 621.24, Windows 11 26300, MSVC 18, RelWithDebInfo). The test passes 3/3 at the reported bad commit4eb6155dand 5/5 atf847748c(ctest too). It runs the whole way: the CBV checks are 64/64, both dispatches match 64 elements, and thedevice_proxy_ref_count(device.p) == 1check passes. The finding failed on an RTX 4080 SUPER and an Intel UHD 770, so it may depend on the machine (driver, or leftover state from an earlier run), and it needs someone who can reproduce it before anyone works on it. I'm not claiming it. AI-assisted (Claude Code).Exopus-0x65f7ad0 commentedon Nov 22, 2026
On D3D-286 (
d3d12_computeatdevice_proxy_ref_count(device.p) == 1), a rerun on currentmain, as asked above:mainaa2988cc, RelWithDebInfo, MSVC 14.51 (VS 2026), Vulkan SDK 1.4.363.0 (glslangValidator from it)ctest -C RelWithDebInfo -R "^d3d12_compute$": 20/20 passed. The executable runs in full (exit 0; CBV, buffer SRV and the three dispatches all report matched), so the reference check was reached and held every time.This doesn't reproduce the failure, but it doesn't settle it either: the original report came from an RTX 4080 SUPER + UHD 770 host, so two adapters. A check on a host with both an iGPU and a dGPU (or with
LEONIDA_VK_DEVICEset to each one) would show whether the surviving reference depends on which adapter the layer picks. I'm not claiming it.Unrelated, but seen while reading the test:
runtime/test/d3d12_compute_test.cpp~877-882 resetspso67andunknown67twice in a row; the second pair has no effect, as noted above.AI-assisted (Claude Code).
Maraco91 commentedon Nov 22, 2026
A measurement for D3D-286 (
d3d12_computeatdevice_proxy_ref_count(device.p) == 1), from a GPU family not in the thread yet. Not claiming it.NVIDIA RTX 3080 Ti (Ampere), driver 616.56, Windows 11 26200, MSVC 19.42, Windows SDK 10.0.28000.0, RelWithDebInfo:
d3d12_compute4eb6155d, the "bad" end of the original bisect, built from scratchf847748cctest, 132/132)aa2988cc(main)ctest --repeat until-fail:20)At
4eb6155dthe run does reach the code in question: the log showsdevice slot 67 (Xbox DeserializeComputePipelineStateX) first call, both dispatches match, and theEXPECTon the device count (line 515 there) holds. So on this GPU the failure doesn't reproduce even at the commit where it was reported on an RTX 4080 SUPER and a UHD 770, which fits the view that the passing runs on latermaindon't by themselves show #1898 fixed it. Subgroup sizes here are 32..32.One limit: my build has no
llvm-mc, so the tests that need translated shaders aren't built;d3d12_computeitself is built and ran as above.AI-assisted (Claude Code); no game files.
shelbykb2 commentedon Nov 22, 2026
done: the RDNA2 subgroup-stages claim (comment) is #3982, with the GPU results in #166. RX 6800 (AMD 26.11.2):
requiredSubgroupSizeStagesis COMPUTE only, and pixel and mesh shaders run 64-wide (measured with a ballot probe, not read from the range). Thanks @AC-Storm-YT for the gfx1036 and RDNA4 data points, which are in the doc row.finding: on RDNA2 under AMD's Windows driver a wave32 pixel shader cannot run 32-wide, and all 1,127 wave32 pixel shaders in the corpus contain an instruction whose result can depend on that. Where:
runtime/src/subgroup_size.hgivesunavailablefor a wave32 fragment shader when the stage is not inrequiredSubgroupSizeStages; the translator then runs two waves in one 64-wide subgroup. Counts (tools/wave32_pixel_scan.pyin #3982, counts only): 1,010 shaders withv_readlane/v_writelane/v_readfirstlane, 146 withv_mbcnt, 105 withs_bcnt1/s_ff1of a lane mask, and all 1,127 with a branch on EXEC/VCC or an SCC vote (117 have only those). Seen on hardware:ps_bitmask_permreadsv_mbcnt_lo= 32 in the upper 32 lanes (its check judges lanes 0-31, so it passes). What it would need: a translator mode that treats a 64-wide fragment subgroup as two independent 32-lane waves (lane ids andv_mbcntmodulo 32, masks and votes per half,v_readfirstlaneper half), the mirror of--wave64-emulate. Needs an RDNA2 card on Windows to test, or any GPU whose fragment stage runs 64-wide; no game files for the fixtures. AI-assisted (Claude Code).catrix-rgb commentedon Nov 22, 2026
claiming: D3D-286
thatirishguyyy commentedon Nov 22, 2026
@LloydNicholson @zneel, are either of you already working on the D3D12
DispatchMeshfallback for devices withoutVK_EXT_mesh_shader? If it’s available, would you prefer it as a follow-up to #1712 or developed alongside the existing work?I tested #2528 on
aa2988cand got 43/43 focused tests passing using AI and some local files. In a local Vulkan harness adaptation, all 24 synthetic workgroups matched on an integrated Radeon under a simulated 128-byte push-constant limit. I can reuse that fixture for D3D12 runtime coverage.abilliontokens commentedon Nov 23, 2026
claiming: D3D-441 — DMA list type value + compute/copy console list IIDs from the package DLLs' call sites (claim of record in #4084). Builds on @Kam471's #3520 and @Pipodi's note above: since the exports can't carry the four IIDs, I'm measuring the call-site side — every GUID constant the 16 shipped modules' code references (known vs. unknown), unknowns examined at their call sites, plus every command-list/queue creation shape for a type immediate. Values only; negative gets recorded with what was searched.