[PR #2149] [CLOSED] Integration/world frame blockers #2153

Closed
opened 2026-11-26 21:20:13 +01:00 by 4ld0 · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ubiquitarianism/leonida/pull/2149
Author: @ZroIsHere
Created: 11/26/2026
Status: ❌ Closed

Base: main ← Head: integration/world-frame-blockers


📝 Commits (10+)

  • 94f0a55 dstorage: reads into physical pages wait for the title's Submit
  • f4f365a Audit changes to large persistently mapped title textures
  • 767752b d3d12: a window's GPU writes go back to the title's pages (RT-TITLE-WINDOW-WRITE-BACK)
  • a3a655b d3d12: remap directly-indexed heaps to arena shader VA (RT-DIRECT-HEAP-ARENA-REMAP)
  • 45f1fdb d3d12_xs: a stall snapshot of what list writes, gates and held work wait for (RT-LIST-VALUES-STALL-SNAPSHOT)
  • 3b613c5 tests: cover direct heap packing without a compute PSO
  • df49688 d3d12: a console heap's V# words are fixed once a pass, not once a slot (RT-CONSOLE-VSHARP-MEMO)
  • 6da4051 d3d12: support depth-stencil UAVs for D24S8-made Xbox D16S8 (format 118)
  • fe89eba d3d12: restrict D24S8 castable widening to format 118 and mark the placed path
  • af66988 d3d12: CreatePlacedResource takes a format-118 clear value

📊 Changes

49 files changed (+4562 additions, -303 deletions)

View changed files

📝 docs/d3d12_vulkan.md (+48 -15)
📝 docs/d3d12_xs_console_abi.md (+9 -0)
📝 docs/design.md (+1 -1)
📝 docs/directstorage.md (+16 -2)
📝 docs/linux_proton.md (+4 -0)
📝 runtime/CMakeLists.txt (+53 -6)
📝 runtime/README.md (+3 -0)
📝 runtime/shims/d3d12_com.cpp (+12 -9)
📝 runtime/shims/d3d12_com.h (+7 -0)
📝 runtime/shims/d3d12_geometry_views.h (+386 -67)
📝 runtime/shims/d3d12_pipeline_compile.h (+181 -33)
📝 runtime/shims/d3d12_title_buffer_windows.h (+113 -21)
📝 runtime/shims/d3d12_vulkan_device.cpp (+359 -41)
📝 runtime/shims/d3d12_xs_device.cpp (+5 -1)
📝 runtime/shims/d3d12_xs_device.h (+5 -1)
📝 runtime/shims/d3d12_xs_list_values.h (+137 -6)
📝 runtime/shims/dstorage.cpp (+162 -10)
📝 runtime/shims/xmem.cpp (+26 -3)
📝 runtime/src/conservative_raster.h (+17 -0)
➕ runtime/src/dstorage_hold.h (+23 -0)

...and 29 more files

📄 Description

Claimed in the coordination issue as:

Depends on:

Fixes:

What and why

Tested

GPUs tested:

AI-assisted:

Checklist

  • Based on current main and merges cleanly (a conflicting pull request is labeled needs rebase).
  • One topic; follow-up work goes in a new pull request.
  • No game data, keys or decryption (CONTRIBUTING.md), including in logs or reports quoted here.
  • A new translator rule is in the contract table of docs/design.md, with how it was confirmed.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ubiquitarianism/leonida/pull/2149 **Author:** [@ZroIsHere](https://github.com/ZroIsHere) **Created:** 11/26/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `integration/world-frame-blockers` --- ### 📝 Commits (10+) - [`94f0a55`](https://github.com/ubiquitarianism/leonida/commit/94f0a5576991446975bdbb66957275b86908cf21) dstorage: reads into physical pages wait for the title's Submit - [`f4f365a`](https://github.com/ubiquitarianism/leonida/commit/f4f365a2f19b1e8b6088e15298d408b5636ddfab) Audit changes to large persistently mapped title textures - [`767752b`](https://github.com/ubiquitarianism/leonida/commit/767752ba14d5af8ddfac96c8c8422ba098090d77) d3d12: a window's GPU writes go back to the title's pages (RT-TITLE-WINDOW-WRITE-BACK) - [`a3a655b`](https://github.com/ubiquitarianism/leonida/commit/a3a655b8abf1bcef2af18b866ecc32765c2c9abe) d3d12: remap directly-indexed heaps to arena shader VA (RT-DIRECT-HEAP-ARENA-REMAP) - [`45f1fdb`](https://github.com/ubiquitarianism/leonida/commit/45f1fdb94e86262c5f09d6b278618f157cbf4829) d3d12_xs: a stall snapshot of what list writes, gates and held work wait for (RT-LIST-VALUES-STALL-SNAPSHOT) - [`3b613c5`](https://github.com/ubiquitarianism/leonida/commit/3b613c512d020beb720d401acfef4222fb26a601) tests: cover direct heap packing without a compute PSO - [`df49688`](https://github.com/ubiquitarianism/leonida/commit/df49688b49bfc4fee48b27a51d22124ceebdc498) d3d12: a console heap's V# words are fixed once a pass, not once a slot (RT-CONSOLE-VSHARP-MEMO) - [`6da4051`](https://github.com/ubiquitarianism/leonida/commit/6da4051e233778ccb41c3fade5b4f4174b292f4b) d3d12: support depth-stencil UAVs for D24S8-made Xbox D16S8 (format 118) - [`fe89eba`](https://github.com/ubiquitarianism/leonida/commit/fe89eba0e6d29e857a814ae875c760b09b67fcba) d3d12: restrict D24S8 castable widening to format 118 and mark the placed path - [`af66988`](https://github.com/ubiquitarianism/leonida/commit/af66988c2468e11350883d9e75f3c626da4365af) d3d12: CreatePlacedResource takes a format-118 clear value ### 📊 Changes **49 files changed** (+4562 additions, -303 deletions) <details> <summary>View changed files</summary> 📝 `docs/d3d12_vulkan.md` (+48 -15) 📝 `docs/d3d12_xs_console_abi.md` (+9 -0) 📝 `docs/design.md` (+1 -1) 📝 `docs/directstorage.md` (+16 -2) 📝 `docs/linux_proton.md` (+4 -0) 📝 `runtime/CMakeLists.txt` (+53 -6) 📝 `runtime/README.md` (+3 -0) 📝 `runtime/shims/d3d12_com.cpp` (+12 -9) 📝 `runtime/shims/d3d12_com.h` (+7 -0) 📝 `runtime/shims/d3d12_geometry_views.h` (+386 -67) 📝 `runtime/shims/d3d12_pipeline_compile.h` (+181 -33) 📝 `runtime/shims/d3d12_title_buffer_windows.h` (+113 -21) 📝 `runtime/shims/d3d12_vulkan_device.cpp` (+359 -41) 📝 `runtime/shims/d3d12_xs_device.cpp` (+5 -1) 📝 `runtime/shims/d3d12_xs_device.h` (+5 -1) 📝 `runtime/shims/d3d12_xs_list_values.h` (+137 -6) 📝 `runtime/shims/dstorage.cpp` (+162 -10) 📝 `runtime/shims/xmem.cpp` (+26 -3) 📝 `runtime/src/conservative_raster.h` (+17 -0) ➕ `runtime/src/dstorage_hold.h` (+23 -0) _...and 29 more files_ </details> ### 📄 Description Claimed in the coordination issue as: <!-- the item ID from the open "Coordinating who works on what" issue, for example TEST-17, or a link to your claim --> Depends on: <!-- #N for every pull request this one builds on or conflicts with (see AGENTS.md; the coordination issue lists the open pull requests); delete the line if it builds on none and conflicts with none --> Fixes: <!-- #N for each issue this closes (GitHub closes it on merge); delete the line if it closes none --> ### What and why <!-- What this changes and the problem it solves. --> ### Tested <!-- What you ran and on which GPU and driver (CONTRIBUTING.md). For the shader translator: how many shaders translate and pass spirv-val, before and after. --> GPUs tested: <!-- vendor, model, driver and OS of each GPU the GPU tests ran on, or n/a --> AI-assisted: <!-- yes or no (AGENTS.md asks a coding agent to say so) --> ### Checklist - [ ] Based on current `main` and merges cleanly (a conflicting pull request is labeled `needs rebase`). - [ ] One topic; follow-up work goes in a new pull request. - [ ] No game data, keys or decryption (CONTRIBUTING.md), including in logs or reports quoted here. - [ ] A new translator rule is in the contract table of `docs/design.md`, with how it was confirmed. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
4ld0 2026-11-26 21:20:13 +01:00
Sign in to join this conversation.
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
starred/leonida#2153
No description provided.