mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-27 00:50:52 +01:00
[PR #1544] [MERGED] RT-PLACED-DEPTH-OVERLAP: d3d12_xs: a depth placement inside another one's PC extent gets its own image (the boot's texture-creation int3 on RADV) #1570
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starred/leonida#1570
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
📋 Pull Request Information
Original PR: https://github.com/ubiquitarianism/leonida/pull/1544
Author: @aslan2142
Created: 11/25/2026
Status: ✅ Merged
Merged: 11/25/2026
Merged by: @aslan2142
Base:
main← Head:placed-depth-overlap📝 Commits (1)
d16eb1fd3d12: give a depth placement inside another one's PC extent its own image📊 Changes
4 files changed (+58 additions, -10 deletions)
View changed files
📝
docs/d3d12_vulkan.md(+6 -1)📝
runtime/shims/d3d12_xs_device.cpp(+21 -7)📝
runtime/shims/d3d12_xs_placed_depth.h(+9 -1)📝
runtime/test/d3d12_placed_depth_test.h(+22 -1)📄 Description
Item:
RT-PLACED-DEPTH-OVERLAP. The claim could not be posted: coordination issue #14 reached GitHub's 2,500-comment limit at 03:46 UTC and no successor exists yet. The claim text is below, to be copied there once there is one:Searched first: no claim or open pull request covers this case. #689 (QemmHD) is the same-address case, not this one.
What and why
On an RDNA2 iGPU under RADV, the retail boot stops about 30 s in on the title's own
int3, inside the title's crash reporter, right after a texture creation returns null. This was measured onmainplus the RADV import fix (#1539), without which the device is lost earlier.d3d12_xs_placed_depth.hrecords each range's end with the PC allocation's size. RADV sizes the largest of the three (2048×2048) at 8,716,288 bytes, more than the title's block, so the next block's first placement starts inside the previous range at a different address. The registry answeredE_NOTIMPLthere, andproxy_create_placed_depthwrote no line for it. The trace showed zero failed calls.proxy_create_placed_depthnow logs the first eight refused depth placements (hr, format, size, layouts, PC size).docs/d3d12_vulkan.md.Tests
d3d12_depth_stencil_uav_test(test/d3d12_placed_depth_test.h) places a texture one alignment step inside another. The tiled layout still getsE_NOTIMPL. The opaque layout gets a backing of its own at the right address, and the outer placement keeps its shared backing.main's baseline: no test goes from pass to fail;d3d12_depth_stencil_uavpasses on both.d3d12_xs_placed_depth.hchange reverted (the test and the log kept),d3d12_depth_stencil_uavfails on both devices.Measured on the retail boot (RDNA2 iGPU, RADV, Wine 11.22, with #1539; counts only)
AI-assisted (Claude Code, Claude Opus 5.5).
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.