xg_x: lay out stencil-only views 22/47/120 as full depth-stencil planar surfaces #124
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
library
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/omonkeyz--xbox-emulator!124
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/124/head"
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?
@adriaespii on GitHub · 2026-11-22 13:26 UTC · original
adriaespii:contrib/xg-x-stencil-views→main· +57 −10 · 2 files · 1 commits · closed without mergingSummary
This PR enables texture layout computation for stencil-only view formats (\DXGI_FORMAT_X32_TYPELESS_G8X24_UINT\ 22, \DXGI_FORMAT_X24_TYPELESS_G8_UINT\ 47, and \DXGI_FORMAT_X16_TYPELESS_G8_UINT\ 120) with the depth-stencil flag, resolving the blocker identified in \docs/BLOCKERS.md:243.
Context & Problem
In \docs/BLOCKERS.md:243:
In \crates/compat/xg_x/src/layout.rs:
[4] == 1 && r[5] != 0 && r[6] != 0.
[5] == 0\ (they declare no depth component in the row table, only stencil in
[6]).
Key Changes
Verification
@omonkeyz on GitHub · 2026-11-22 13:35 UTC · original
Thanks! Gate is clean. A maintainer is checking this against the xg_x console oracle together with #123; we'll follow up here.
@omonkeyz on GitHub · 2026-11-22 14:28 UTC · original
Checked against the xg_x console oracle (stencil-only views 22/47/120 now byte-identical at 2x/4x/8x, arrays 1/6, hw v0/v2) and applied in
853169c(merged inc8a8a8f) with your authorship kept, thanks! Please rebase #123 onto this.Pull request closed