mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 23:05:53 +01:00
[PR #689] d3d12_xs: support differently shaped depth textures at one base #729
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#729
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/689
Author: @QemmHD
Created: 11/24/2026
Status: 🔄 Open
Base:
old-pr/9991← Head:qemmhd/rt-depth-same-base-shapes📝 Commits (1)
ba9fb43d3d12_xs: support differently shaped depth textures at one base📊 Changes
3 files changed (+177 additions, -21 deletions)
View changed files
📝
runtime/shims/d3d12_xs_placed_depth.h(+29 -17)📝
runtime/test/d3d12_depth_stencil_uav_test.cpp(+4 -1)📝
runtime/test/d3d12_placed_depth_test.h(+144 -3)📄 Description
Claimed in #14 as RT-DEPTH-SAME-BASE-SHAPES. Direct follow-up to #261, targeted at its branch so the review shows only this change.
What and why
Slot 133 can place multiple depth/UAV textures with different extents or array sizes at the same guest address. The existing placement table rejects the second shape. Keep a separate real attachment and storage-plane backing for each incompatible shape. Keep the shared backing for exact compatible placements. The caller still synchronizes a shape switch with an aliasing barrier and initializes the newly active texture. Distinct-base partial overlaps are still refused, including when a same-base group grows toward a neighboring placement.
Tested
632cb75ad. Diff and repository game-data checks passed.AI-assisted: yes (Codex).
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.