d3d12: place a single-plane paired depth image that starts in unordered access #630
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/630"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from brcly/TuxBox. Originally posted by NickStallman on 2026-12-01T17:13:17Z.
ProjectScarlett places a 768x768 cube depth array (
R16_TYPELESS, depth and unordered access, 6 slices) inUNORDERED_ACCESSwhile it loads.place_gpu_targetrefuses every paired depth image that starts inUNORDERED_ACCESSwithE_NOTIMPL, so the title asserted and exited:A committed paired image that starts there already works:
depth::host_initial_stateparks a single-plane pair's depth surface inCOPY_SOURCEwhile the companion takes the unordered-access writes, which is where the enhanced handoff expects it when the image leavesUNORDERED_ACCESS(#519's test uses this same shape). This gives the placed path the same rule through a newdepth::host_initial_layout. A two-plane pair still can't start inUNORDERED_ACCESSand is refused as before.In a title (measured by @DrArroway, RX 6900 XT, RADV, on
93324a2b)Without this change the title aborted at the same slot-133 assert. With it, two runs passed that point: one reached 10,936 presents before an unrelated submission rejection (#634), the other entered the world (8,396 presents, 413.9 s) with
TUXBOX_LAZY_PUBLICATION=0.Tests
Lanes
placed-depth-uav(new): places the title's exact description (R16_TYPELESS, depth and unordered access, 768x768x6, layout unknown) inUNORDERED_ACCESS, clears it through aTexture2DArrayUAV, barriers it toCOPY_SOURCE, copies all six slices out and checks every texel.1002:13c0, RADV, GE-Proton11-15): passes with this change. The control (main plus only the scenario) fails at placement:place a paired depth cube in UNORDERED_ACCESS failed: 0x80004001. The only other Lanes failure on both istexture-publication, which is #625.10de:2b85, 620.70.10): passes with this change (29 pass; the one Lanes failure istexture-publication, #625). The control fails at placement as on AMD.a_placed_single_plane_pair_starts_its_depth_surface_in_copy_source, with the exact description above. Thedevice::depth::tests pass under Wine.The no-GPU check will be added; an earlier run on
e50b77defailed only on the clippy finding that712fb960has since fixed.🤖 Generated with Claude Code
Imported from brcly/TuxBox. Originally posted by DrArroway on 2026-12-01T18:26:27Z.
Confirmed on AMD Radeon RX 6900 XT (1002:73bf) (Mesa
26.3.1-arch3.5RADV NAVI21,GE-Proton11-14), testinge242a160cleanly cherry-picked ontomain(93324a2b):#630(main93324a2b): ProjectScarlett aborted at profile/world init with the exact sameresource slot 133 failed 0x80004001: dim=3 768x768x6 mips=1 format=53 samples=1 layout=0x0 flags=0x80300006 align=0x0 initial=0x3assert (0x80000003atgame_scarlett_master.exe + 0x14A6390).#630: Cleared slot 133 cleanly in two ProjectScarlett runs:TUXBOX_LAZY_PUBLICATION=1: passed slot 133 and reached10,936+presents before hitting a separate AMDGPU userptr-EPERM (-1)CS rejection (filed separately in#634).TUXBOX_LAZY_PUBLICATION=0: entered the world cleanly (8,396presents,146,142recorded GPU commands,413.9s, before hitting the separate#232/#603TCPPERMISSION_FAULTS: 3fault).Imported from brcly/TuxBox. Originally posted by NickStallman on 2026-12-01T18:49:23Z.
@DrArroway thank you, that's the confirmation in a title this needed. I've added your runs to the description.