d3d12_xs: a console depth-stencil texture with unordered access is sized and created without it, again (RT-DS-UAV) #427

Manually merged
github merged 29 commits from gh-pr/427/head into gh-pr/427/base 2026-11-26 08:59:31 +00:00
Owner

@⁠Mumogg on GitHub · 2026-11-24 05:04 UTC · original
Mumogg:slot25-depth-stencil-uav → main · +2443 −123 · 23 files · 29 commits · merged 2026-11-25 03:46 UTC

Claimed in #14 as RT-DS-UAV. Depends on: the stack up to #416 (their commits come first here; this pull request is the last commit). The code needs #375 (d3d12_xs_desc_clean.h).

What and why

The console allows ALLOW_DEPTH_STENCIL | ALLOW_UNORDERED_ACCESS on one texture. The PC runtime refuses the pair, so device slot 25 answered UINT64_MAX for the title's description, and a worker thread of the title stops on its own int3: tools/int3_cause.py reads the stop as a check on the upper half of the size that slot 25 returned.

Commit 4a8603436 by NiiRoZz (-x, authorship kept; an ancestor of main whose content is not in the tree): pc_resource_flags drops the unordered-access bit from a depth-stencil texture, for slot 25 and for the creation in slot 76. It is a stand-in and says so: the texture's unordered-access views then write no descriptor, so what a shader writes through them goes nowhere.

Adapted to main, as the commit message says: applied without b4d1ba179, which it followed in the original series (that one makes slot 25 clean only console-form calls), so slot 25 keeps cleaning every description as it does on main now.

Measured

Linux (Nobara 44, kernel 7.3), Wine 11.21 staging, RTX 5070 Ti (driver 615.78.08), clang-cl 22.1.8 + xwin SDK 10.0.26100, own 1.0.2.1 copy, network off, on main ece4ba5b3, with #142, #219, #328 and #387 applied on top for the boot runs (they are not in this branch).

--run Traced calls Ends with
up to #416 11,992 to 11,994 the worker thread's int3
+ this 12,043 the same int3, later, on another description

The log line slot 25: depth-stencil texture (format 19) sized without unordered access, which the PC refuses with it (stand-in) appears once. The description that trips the same check afterwards is an A8_UNORM render target, which is the separate pull request for RT-A8-TARGET.

xs_proxy_mock_test under Wine passes. The commit's own test case is in device_proxy_test, which builds here but does not run under Wine (it stops at device creation, on main too).

Not built with MSVC and not run on Windows.

AI-assisted (Claude Code); built and run on the machine above.

🤖 Generated with Claude Code

https://claude.ai/code/session_01HxBQf4pXH8PWpC5oZsM4bt

**@⁠Mumogg** on GitHub · 2026-11-24 05:04 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/427) `Mumogg:slot25-depth-stencil-uav` → `main` · +2443 −123 · 23 files · 29 commits · merged 2026-11-25 03:46 UTC Claimed in #14 as `RT-DS-UAV`. Depends on: the stack up to #416 (their commits come first here; this pull request is the last commit). The code needs #375 (`d3d12_xs_desc_clean.h`). ### What and why The console allows `ALLOW_DEPTH_STENCIL | ALLOW_UNORDERED_ACCESS` on one texture. The PC runtime refuses the pair, so device slot 25 answered `UINT64_MAX` for the title's description, and a worker thread of the title stops on its own `int3`: `tools/int3_cause.py` reads the stop as a check on the upper half of the size that slot 25 returned. Commit `4a8603436` by NiiRoZz (`-x`, authorship kept; an ancestor of `main` whose content is not in the tree): `pc_resource_flags` drops the unordered-access bit from a depth-stencil texture, for slot 25 and for the creation in slot 76. It is a **stand-in** and says so: the texture's unordered-access views then write no descriptor, so what a shader writes through them goes nowhere. Adapted to `main`, as the commit message says: applied without `b4d1ba179`, which it followed in the original series (that one makes slot 25 clean only console-form calls), so slot 25 keeps cleaning every description as it does on `main` now. ### Measured Linux (Nobara 44, kernel 7.3), Wine 11.21 staging, RTX 5070 Ti (driver 615.78.08), clang-cl 22.1.8 + xwin SDK 10.0.26100, own 1.0.2.1 copy, network off, on `main` `ece4ba5b3`, with #142, #219, #328 and #387 applied on top for the boot runs (they are not in this branch). | `--run` | Traced calls | Ends with | |---|---|---| | up to #416 | 11,992 to 11,994 | the worker thread's `int3` | | + this | 12,043 | the same `int3`, later, on another description | The log line `slot 25: depth-stencil texture (format 19) sized without unordered access, which the PC refuses with it (stand-in)` appears once. The description that trips the same check afterwards is an A8_UNORM render target, which is the separate pull request for `RT-A8-TARGET`. `xs_proxy_mock_test` under Wine passes. The commit's own test case is in `device_proxy_test`, which builds here but does not run under Wine (it stops at device creation, on `main` too). Not built with MSVC and not run on Windows. AI-assisted (Claude Code); built and run on the machine above. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01HxBQf4pXH8PWpC5oZsM4bt
(cherry picked from commit 355201c51e)
The retail title asserts when its first full-screen render targets leave more than 2 MiB of a fixed budget unused (docs/retail_boot_chain.md, #6982). The PC size is about width x height x element bytes; the console takes whole RDNA2 SW_64KB tiles. Slot 25 adds the difference per render target description and never lowers a size. Depends on #6973.

(cherry picked from commit 8897855399)
The title's descriptions carry the Xbox layout word and flag bits above the PC ones. Slot 25 now passes a copy with PC flags and a PC layout; the title's array is not written. Depends on #7078.

(cherry picked from commit c7ca0f2d1c)
(cherry picked from commit 359390833f)
On the console a committed resource's memory is allocated with XMemAlloc, so it goes
through the title's __XMemAllocationHooks__. The retail title budgets its first
full-screen render targets with a per-thread hook that bump-allocates out of a range it
reserved and asserts that less than 2 MiB is left; PC resources never allocated through
the hooks, so the assert always fired. Slots 76 and 127 now allocate the slot-25 size of
each resource through the hooks, held by the resource with SetPrivateDataInterface and
freed when it is destroyed.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
(cherry picked from commit ae322dafc5)

Adapted to main by Mumogg: the lease size is the later form of this series (d61755d4d, a render target's console
tile size, else the PC size), since console_render_target_extra is gone after 359390833.
(cherry picked from commit b4d1ba1794)
Reported by YaBulochka and sovljanskii on #7154; #7110's current head has the same form.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
(cherry picked from commit bee47186f6)
With the console tile sizes applied to every caller, a PC-form call through the proxy no longer answered what the
PC device answers, and the code that compares the two failed on Windows: device_proxy_test's two slot 25 checks
and d3d12_vulkan_device_test's allocation_mismatches (reported on #375 from MSVC builds on AMD and NVIDIA, the
first bad commit being the one that cleans the descriptions). Together with b4d1ba179, which scopes the cleaning
the same way, a PC-form caller now gets the PC device's own answer for its own description; the title's call,
which comes in the console form, gets the cleaned description and the console sizes as before.

xs_proxy_mock_test: the PC-form slot 25 case expects the mock device's size (it expected the console size), and
the mixed slot 56 case is asked in the console form. device_proxy_test includes d3d12_xs_desc_clean.h for the
cleaned description b4d1ba179's check compares with.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_01HxBQf4pXH8PWpC5oZsM4bt
A heap that main's console-extended handler created already sits at the address the title named, so
proxy_create_descriptor_heap asks the title's XMem hooks for a backing address only when the heap came from a
plain PC description (follow-up asked for in review on #375).

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_01HxBQf4pXH8PWpC5oZsM4bt
The retail title creates five one-argument command signatures with no root
signature at startup (device slot 41, CreateCommandSignature at its PC
position). One has the console argument type 105 and a 12-byte stride, next
to a DISPATCH and a DISPATCH_MESH of 12 bytes. The PC layer refuses the
unknown type, which is stop 19 of the RT-5 boot measurements.

Read statically from the title's call sites (shapes only): the two
ExecuteIndirect sites of that signature pass MaxCommandCount 1 and an offset
into the same argument buffer as the DISPATCH sites. Right before, they set
the same compute state as the DISPATCH path (pipeline, compute root signature,
tables, constants, SRV and UAV); they record on a second command list of the
title's context. So the argument is taken as a D3D12_DISPATCH_ARGUMENTS.

Slot 41 now has its own handler. A description that holds type 105 is copied
with that type replaced by DISPATCH (logged once). Any other description is
forwarded as the same pointer. What the console does differently for type 105
is left open in docs/d3d12_vulkan.md (section 4.9).

xs_proxy_mock_test: a two-argument description (a root constant, then type
105) reaches the PC slot 41 as a copy with DISPATCH, the same stride, count,
root signature, IID and output, and the caller's description is untouched; a
PC description is passed through unchanged. With main's d3d12_xs_device.cpp
the new check fails.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
(cherry picked from commit 4c04c0f4e3)
105 is outside D3D12_INDIRECT_ARGUMENT_TYPE's range [0, 15], so clang-cl
rejects a constant expression that casts it to the enum (reported by
umnitus on #7163). The handler now reads each argument's Type field as a
uint32_t through memcpy and compares it with 105; the test writes and reads
the raw value the same way, and the mock records it the same way.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
(cherry picked from commit 084c8c60e7)
The Vulkan layer created signatures for draw, draw-indexed and dispatch only and answered E_NOTIMPL
for DISPATCH_MESH, which the PC runtime creates on any mesh-shader tier 1 device. A title that
creates such a signature at startup and asserts on the result stopped there.

The signature is created when the device has VK_EXT_mesh_shader (MeshShaderTier 1), as a new
IndirectKind::dispatch_mesh (the name and value #3777 uses, so the two merge). ExecuteIndirect with
it records nothing yet and says so once; #3777 replays it as vkCmdDrawMeshTasksIndirectEXT.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
(cherry picked from commit efc347830b)
Resolving the cherry-pick of efc347830 I dropped main's record-size, stride and span checks (e1ec785b2), which
d3d12_execute_indirect_validation_test depends on and which matter to every D3D12 user (found in review on
#377). They are back as on main, the record-size chain knows D3D12_DISPATCH_MESH_ARGUMENTS, and the early
return for a DISPATCH_MESH signature comes after the checks.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_01HxBQf4pXH8PWpC5oZsM4bt
The retail title calls device slot 61 as CreateSamplerX(desc, dest handle), once
per sampler, after its descriptor heaps exist (stop 20 of the RT-5 boot
measurements in the coordination issue). The generic thunk forwarded it to the
PC slot 61, which is CreateMetaCommand, so the sampler was never written.

Slot 61 now has its own handler, like 62 and 67. It passes the description's
PC D3D12_SAMPLER_DESC prefix and the handle to the PC CreateSampler (slot 22).
That was enough to get the title past this call under Wine. Whatever follows
the prefix in the console description is not known and is not read. A null
description is skipped and logged once. A handle in the title's own heap range
is #7021's translation.

xs_proxy_mock_test: slot 61 reaches the mock's slot 22 with the same two words
and never its slot 61; a null description reaches nothing. With main's
d3d12_xs_device.cpp the new check fails.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
(cherry picked from commit e22994464b)
The proxy also serves host callers: d3d12_vulkan_device_test drives the Vulkan device through it,
and its ID3D12Device5::CreateMetaCommand call (PC slot 61) landed in proxy_create_sampler_x
(found by nullmarsh on #7115: the test stopped at line 5763 instead of main's known line 6574).

Slot 61 now checks the caller's return address with a classifier the runtime installs
(set_console_caller, the name #7490 uses): D3D12XboxCreateDevice installs
rt::shims::mapped_image_base, so only a caller in an image the guest loader mapped gets
CreateSamplerX. Any other caller, and every caller when no classifier is installed, is forwarded
to the PC slot 61.

xs_proxy_mock_test checks all three cases: no classifier (PC slot 61), a guest caller (PC
CreateSampler with the same words; a null description skipped) and a host caller under an
installed classifier (PC slot 61). d3d12_vulkan_device_test again stops at line 6574, as on main.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
(cherry picked from commit 8f756ebe048af042638ce51a61490f35f4f44ee3)
(cherry picked from commit c915e1da45)
Slot 61 passed the destination handle to the PC CreateSampler as given. With the title's descriptor range
honoured (__XMemAllocationHooks__), a handle in that range has to be translated to the real heap's, as device
slots 17 to 24 do (asked for in review on #377).

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_01HxBQf4pXH8PWpC5oZsM4bt
The retail title calls slot 74 once; the PC slot 74 reads the first pointer as kinds and returns E_INVALIDARG, so the title hits an int3. The proxy handler does not call the PC device, writes nothing, logs the three words once, and yields to an env slot override that moves a route onto 74.

(cherry picked from commit cdeee35aa8)

Adapted to main by Mumogg: the queue route inside route_xbox_device_slot calls proxy_create_command_queue_xbox
(the 32-byte description of 0cde63d61), as the inline route did before this commit moved the routes into a
function.
The stand-in also took a host's ID3D12Device9::ShaderCacheControl call through the proxy and answered S_OK
without reaching the device (found on native Windows by BadgersMC in the review of this change). Slot 74 now
asks the caller classifier slot 61 uses (set_console_caller): a caller in an image the guest loader mapped gets
the stand-in, any other caller, and every caller when no classifier is installed, is forwarded to the PC slot 74
or refused past the PC device's table.

xs_proxy_mock_test: the guest case under a classifier, and the host case with a classifier and with none, on a
device that has ShaderCacheControl and on one that does not.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_01HxBQf4pXH8PWpC5oZsM4bt
Asked for in review on #377.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_01HxBQf4pXH8PWpC5oZsM4bt
(cherry picked from commit e925b63455)

Adapted to main by Mumogg: main has command-list proxies, so the shared execute function replaces them by their
real lists in a copy of the array (UnwrappedArray), for the console slot 35 as for the PC slot 10, whose test
failed otherwise. The slot 35 mock case passes two mock lists instead of two numbers and checks that they arrive
and that the caller's array is not written.
(cherry picked from commit e29e989980)
Asked for in review on #377.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_01HxBQf4pXH8PWpC5oZsM4bt
The retail title resets its command lists through list slot 139, with (allocator proxy, pipeline state). main's
slot map had no entry for it, so the call was recorded and dropped and the list stayed closed. The map sends it
to the PC slot 10, and the unwrap keys on the PC slot, so console slot 10 and console slot 139 both hand the real
list its real allocator (and a wrapped pipeline state the same way) and re-pin the inline cursor.

The mapping and the unwrap rule are those of ef9d0759d (Nolan Cotter; measured by Pipodi), written again for
main's list proxy, where that commit does not apply. xs_proxy_mock_test checks the map entry and a slot 139 call.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_01HxBQf4pXH8PWpC5oZsM4bt
Queue slot 18 is ID3D12CommandQueue::GetDesc on the PC: a struct return that writes a 16-byte description through
the hidden pointer. The retail title calls slot 18 with one pointer to 8 bytes, the shape of
GetTimestampFrequency(UINT64*), which the console queue has there (two methods are inserted at 14/15, so the PC
slots 16 to 18 sit two later). Forwarded as GetDesc, the call wrote a description over the title's 8 bytes and
what follows them; the title then went wrong a little later, after its first submission.

The title's call (set_console_caller, as device slots 61 and 74) now goes to the PC slot 16. A host caller, and
every caller when no classifier is installed, keeps the PC GetDesc.

The reading of slot 18 is that of the console queue work in old PR 2490 (Nolan Cotter), which answers an
undetected slot 18 as the frequency getter because it is the only reading that cannot overrun its argument. That
work's layout detection does not apply to main's queue proxy; this is the one rule the boot needs, written for
it. xs_proxy_mock_test: the guest call reaches the mock queue's slot 16 with its pointer and leaves the words
around it; a host call, with a classifier and with none, reaches slot 18.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_01HxBQf4pXH8PWpC5oZsM4bt
The retail title presents through command-queue slot 32, past the PC queue's 19 slots, so main refused it with
E_NOTIMPL and nothing could be shown. The slot now calls XboxPresentation::PresentX (xbox_present.h) with the
title's plane count, planes and parameters. The first call on a device builds a window and the Vulkan layer's
presenter for it, once; a device that cannot present answers S_OK and shows nothing, so the title's frame loop
runs either way. The mock and COM builds of this file have no presenter and answer S_OK.

The wiring follows old PR 2490's (Nolan Cotter, 2be25cee2), written again for main's queue proxy, where that
commit does not apply. Not carried over: the queue layout detection (the older layout has PresentX at slot 30)
and presenting into the title's own window (old PR 8591); the window here is one this layer creates.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_01HxBQf4pXH8PWpC5oZsM4bt
Device slot 80 (WaitFrameEventX, from #6935) numbered its tokens with a
counter of its own, while XboxPresentation's pacer refuses any token above
the ones it issued itself. A title that waits through the device and
presents through the device's XboxPresentation therefore had every
PresentX refused with E_INVALIDARG once its tokens ran ahead of the
pacer's.

leonida::FrameTokenSource is now the counter both use: a pacer takes an
optional shared source (a standalone pacer still owns its own and numbers
as before), the device proxy owns one and exposes it through
rt::d3d12_xs::device_frame_tokens, and XboxPresentation passes a given
source to its pacer. A token that was never issued is still refused.

Reported by rafaelpssz in #7496.

(cherry picked from commit afb14d56c6)

Adapted to main by Mumogg: main's uncapped pacer path issues its token from the shared source too, the device
proxy keeps the PresentX state next to the token source, and the queue's PresentX hands the device's source to
its XboxPresentation, which is what makes the title's tokens valid there.
The coverage gate asks for every queue slot to have been called, and skips the overridden ones in its sweep of
the refused tail. Slot 32 is overridden since the PresentX wiring, so nothing called it and the gate failed
("queue slot 32 never called"). The test now calls it where it calls the console ExecuteCommandLists slot: this
build of the proxy has no presenter, so the answer is S_OK.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_01HxBQf4pXH8PWpC5oZsM4bt
Device slots 17 to 24 translate a CPU descriptor handle in the title's own range (__XMemAllocationHooks__) to
the real heap's. The five command-list methods that take such handles did not: OMSetRenderTargets (console slot
50), ClearDepthStencilView (51), ClearRenderTargetView (52) and the two ClearUnorderedAccessView (53, 54) went
to the real list with the title's address, which is no descriptor there. On the retail boot the first
ClearRenderTargetView made the list's Close fail.

They translate now, in copies: the caller's arrays are not written, and a handle outside the range is passed as
it is. Slot 51 gets a typed thunk, because its depth is a FLOAT in XMM3, which the all-integer list thunk loses.

This is 0aba6c361 (LeonidaBringup) written again for main's list proxy, where that commit does not apply (it
sits on old PR 2490's list proxy). xs_proxy_mock_test: the five slots with a handle inside the range, one
outside it, and the caller's arrays unchanged.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_01HxBQf4pXH8PWpC5oZsM4bt
The console allows ALLOW_DEPTH_STENCIL | ALLOW_UNORDERED_ACCESS on a texture; the PC runtime refuses the pair and
slot 25 answered UINT64_MAX for it. pc_resource_flags drops the UAV bit from depth-stencil textures (slot 25 through
pc_resource_desc, and slot 76). Their UAV views then write no descriptor.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
(cherry picked from commit 4a86034367)

Adapted to main by Mumogg: the conflict is with b4d1ba179, which is applied before it here: slot 25 keeps that
commit's scoped cleaning, and this one adds the flag rule and its log line.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 08:59:30 +00:00
github manually merged commit 89fdb83e06 into gh-pr/427/base 2026-11-26 08:59:31 +00:00
Author
Owner

@⁠Dezmonius on GitHub · 2026-11-24 13:43 UTC · original

Independent Windows A/B for the slot-25 allocation case. Native Windows 10 22H2 (19045), D3D12 WARP, MSVC 19.51.36256, Windows SDK 10.0.26100, Ninja Release. I used the same device_proxy_test source on the PR head 89fdb83e0 and its immediate parent adc4f314b (test source only copied into the control).

  • Parent: two failures, the depth-stencil descriptor retained the UAV flag, and console slot 25 did not report a usable allocation size.
  • PR head: both assertions and the rest of device_proxy_test passed. Direct PC/WARP still rejected the combined flags, and the buffer/colour-texture controls retained their UAV flag.
  • xs_proxy_mock_test passed on both builds.

This verifies the slot-25 sizing stand-in on Windows/WARP. It does not exercise UAV writes, the combined-flags slot-76 creation path, or retail boot. Synthetic tests only. AI-assisted (Codex).

**@⁠Dezmonius** on GitHub · 2026-11-24 13:43 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/427#issuecomment-7133236762) Independent Windows A/B for the slot-25 allocation case. Native Windows 10 22H2 (19045), D3D12 WARP, MSVC 19.51.36256, Windows SDK 10.0.26100, Ninja Release. I used the same `device_proxy_test` source on the PR head `89fdb83e0` and its immediate parent `adc4f314b` (test source only copied into the control). - Parent: two failures, the depth-stencil descriptor retained the UAV flag, and console slot 25 did not report a usable allocation size. - PR head: both assertions and the rest of `device_proxy_test` passed. Direct PC/WARP still rejected the combined flags, and the buffer/colour-texture controls retained their UAV flag. - `xs_proxy_mock_test` passed on both builds. This verifies the slot-25 sizing stand-in on Windows/WARP. It does not exercise UAV writes, the combined-flags slot-76 creation path, or retail boot. Synthetic tests only. AI-assisted (Codex).
Author
Owner

@⁠Dezmonius on GitHub · 2026-11-24 13:45 UTC · original

Follow-up on slot 76, the committed-resource creation path. Same native Windows 10 22H2 / D3D12 WARP / MSVC setup as my slot-25 report. I added an identical local case to the parent test harness and linked it against both the parent (adc4f314b) and PR head (89fdb83e0).

The fixture is a synthetic 64×64 single-sampled R32G8X24_TYPELESS texture with the Xbox layout and both DEPTH_STENCIL and UNORDERED_ACCESS requested. Direct PC creation with both flags returned E_INVALIDARG on both builds; direct depth-only creation returned S_OK. Xbox slot 76 returned E_INVALIDARG on the parent and S_OK on the PR head. The resulting resource retained the depth-stencil flag, format and extent, used the PC-layout value UNKNOWN, and had the UAV flag removed. The rest of the fixture passed on the head.

This verifies creation of the depth-only stand-in. UAV writes and retail boot were outside the test. Synthetic data only. AI-assisted (Codex).

**@⁠Dezmonius** on GitHub · 2026-11-24 13:45 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/427#issuecomment-7133290744) Follow-up on slot 76, the committed-resource creation path. Same native Windows 10 22H2 / D3D12 WARP / MSVC setup as my slot-25 report. I added an identical local case to the parent test harness and linked it against both the parent (`adc4f314b`) and PR head (`89fdb83e0`). The fixture is a synthetic 64×64 single-sampled `R32G8X24_TYPELESS` texture with the Xbox layout and both DEPTH_STENCIL and UNORDERED_ACCESS requested. Direct PC creation with both flags returned `E_INVALIDARG` on both builds; direct depth-only creation returned `S_OK`. Xbox slot 76 returned `E_INVALIDARG` on the parent and `S_OK` on the PR head. The resulting resource retained the depth-stencil flag, format and extent, used the PC-layout value UNKNOWN, and had the UAV flag removed. The rest of the fixture passed on the head. This verifies creation of the depth-only stand-in. UAV writes and retail boot were outside the test. Synthetic data only. AI-assisted (Codex).
Author
Owner

@⁠3L1A5-1 on GitHub · 2026-11-25 01:58 UTC · original

Native Windows + MSVC + NVIDIA result (the earlier Windows A/B here was on WARP). This is this PR's own commit, stacked on #416's commit only and without #414's three, which conflict with main (see #414). Both apply cleanly: 3L1A5-1/leonida@rebase/427 (a3ae2df9a, authors kept) on main b4b7756e8.

  • ctest: 318/318 passed, 0 failed (2 gameinput disabled, no SDL3). device_proxy and device_proxy_trace pass.
  • scripts/run_gpu_tests.py: 207 passed, 0 failed, 49 skipped. With LEONIDA_W64_EMULATE=1: 239 passed, 0 failed, 17 skipped.
  • No result differs from main on this machine.

Hardware: RTX 2060 SUPER 8 GB (Turing), driver 617.14, Windows 11 26300, 16 GB RAM, MSVC 19.44, RelWithDebInfo. Synthetic tests only, no retail run.

AI-assisted: yes

**@⁠3L1A5-1** on GitHub · 2026-11-25 01:58 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/427#issuecomment-7150181304) Native Windows + MSVC + NVIDIA result (the earlier Windows A/B here was on WARP). This is this PR's own commit, stacked on #416's commit only and without #414's three, which conflict with `main` (see #414). Both apply cleanly: [`3L1A5-1/leonida@rebase/427`](https://github.com/3L1A5-1/leonida/tree/rebase/427) (`a3ae2df9a`, authors kept) on `main` `b4b7756e8`. - ctest: 318/318 passed, 0 failed (2 `gameinput` disabled, no SDL3). `device_proxy` and `device_proxy_trace` pass. - `scripts/run_gpu_tests.py`: 207 passed, 0 failed, 49 skipped. With `LEONIDA_W64_EMULATE=1`: 239 passed, 0 failed, 17 skipped. - No result differs from `main` on this machine. Hardware: RTX 2060 SUPER 8 GB (Turing), driver 617.14, Windows 11 26300, 16 GB RAM, MSVC 19.44, RelWithDebInfo. Synthetic tests only, no retail run. AI-assisted: yes
Author
Owner

@⁠aslan2142 on GitHub · 2026-11-25 03:47 UTC · original

Marked merged through #430, whose branch contains this one. The content was already in main: without_depth_stencil_uav is used by slot 76, slot 25 cleans the description through pc_resource_desc, and the log line and the device_proxy_test case are there too; #939's two-resource path applies on top of it. Thanks to Dezmonius and 3L1A5-1 for the Windows A/B.

AI-assisted (Claude Code, Claude Opus 5.5).

**@⁠aslan2142** on GitHub · 2026-11-25 03:47 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/427#issuecomment-7152238060) Marked merged through #430, whose branch contains this one. The content was already in `main`: `without_depth_stencil_uav` is used by slot 76, slot 25 cleans the description through `pc_resource_desc`, and the log line and the `device_proxy_test` case are there too; #939's two-resource path applies on top of it. Thanks to Dezmonius and 3L1A5-1 for the Windows A/B. AI-assisted (Claude Code, Claude Opus 5.5).
This discussion has been locked. Commenting is limited to contributors.
No description provided.