OLD-5422: docs/d3d12_vulkan.md drops stale "not yet" claims the runtime already covers #381

Closed
lines9686-rgb wants to merge 3 commits from upstream-pr/381 into main
lines9686-rgb commented 2026-11-24 04:11:36 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by lines9686-rgb on 2026-11-24T04:11:36Z.


Claimed in the coordination issue as: OLD-5422 (carried over from the original repository, same author)

What and why

docs/d3d12_vulkan.md says "not yet" about things the runtime does now: dedicated queue families with CONCURRENT sharing, set 0 bound by graphics and compute PSOs, literal samplers registered at PSO creation, shader-visible heap GPU handles reaching shaders, IBStripCutValue, 1D textures, zeroed default-heap buffers, the CPU fence signal held behind pending GPU signals, and mesh pipelines. It also repairs spliced text (a duplicated swap-chain paragraph and creation-argument table, a bullet split in two, the stale ESRAM note). The GetTimestampFrequency comment in d3d12_com.cpp gets the same timestamp wording.

Tested

test_docs_links, test_docs_design_rows, test_docs_list_items, test_docs_encoding, test_docs_env_vars: OK. Each removed claim checked against this main (queue_families.h, DeviceState::share, register_literal_samplers, d3d12_texture1d_test, the mesh draw path).

GPUs tested: n/a

AI-assisted: yes (Claude Code)

Checklist

  • Based on current main and merges cleanly.
  • One topic; follow-up work goes in a new pull request.
  • No game data, keys or decryption (scripts/check_no_game_data.py over every changed file: clean).
  • A new translator rule is in the contract table of docs/design.md: n/a

🤖 Generated with Claude Code

<!-- greyfinch-sync:ubiquitarianism/leonida:issue:5465929518 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/381). Originally posted by [lines9686-rgb](https://github.com/lines9686-rgb) on 2026-11-24T04:11:36Z. --- Claimed in the coordination issue as: `OLD-5422` (carried over from the original repository, same author) ### What and why docs/d3d12_vulkan.md says "not yet" about things the runtime does now: dedicated queue families with `CONCURRENT` sharing, set 0 bound by graphics and compute PSOs, literal samplers registered at PSO creation, shader-visible heap GPU handles reaching shaders, `IBStripCutValue`, 1D textures, zeroed default-heap buffers, the CPU fence signal held behind pending GPU signals, and mesh pipelines. It also repairs spliced text (a duplicated swap-chain paragraph and creation-argument table, a bullet split in two, the stale ESRAM note). The `GetTimestampFrequency` comment in `d3d12_com.cpp` gets the same timestamp wording. ### Tested `test_docs_links`, `test_docs_design_rows`, `test_docs_list_items`, `test_docs_encoding`, `test_docs_env_vars`: OK. Each removed claim checked against this `main` (`queue_families.h`, `DeviceState::share`, `register_literal_samplers`, `d3d12_texture1d_test`, the mesh draw path). GPUs tested: n/a AI-assisted: yes (Claude Code) ### Checklist - [x] Based on current `main` and merges cleanly. - [x] One topic; follow-up work goes in a new pull request. - [x] No game data, keys or decryption (`scripts/check_no_game_data.py` over every changed file: clean). - [x] A new translator rule is in the contract table of `docs/design.md`: n/a 🤖 Generated with [Claude Code](https://claude.com/claude-code)
moffington commented 2026-11-24 05:04:22 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by moffington on 2026-11-24T05:04:22Z.


I checked docs/d3d12_vulkan.md at 5645e335 and found two spots that could use a follow-up:

  • The graphics PSO “Refused with a log” list still includes MSAA and set-0 bindings. The runtime accepts standard MSAA sample counts and supports set-0 bindings when the bindless set is available. Could we narrow the list to the unsupported cases?
  • The known-gaps summary drops the wave32 pixel-shader limitation for devices whose fragment stage runs 64-wide and can’t request 32. The subgroup section still documents that case as unavailable. Could we keep a short mention of it in the summary?
<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7122597798 --> Imported from [ubiquitarianism/leonida](https://github.com/ubiquitarianism/leonida/pull/381#issuecomment-7122597798). Originally posted by [moffington](https://github.com/moffington) on 2026-11-24T05:04:22Z. --- I checked docs/d3d12_vulkan.md at 5645e335 and found two spots that could use a follow-up: - The graphics PSO “Refused with a log” list still includes MSAA and set-0 bindings. The runtime accepts standard MSAA sample counts and supports set-0 bindings when the bindless set is available. Could we narrow the list to the unsupported cases? - The known-gaps summary drops the wave32 pixel-shader limitation for devices whose fragment stage runs 64-wide and can’t request 32. The subgroup section still documents that case as unavailable. Could we keep a short mention of it in the summary?
lines9686-rgb commented 2026-11-24 05:17:45 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by lines9686-rgb on 2026-11-24T05:17:45Z.


Thanks, both right. Fixed in the new commit:

  • The "Refused with a log" list now matches create_graphics: hull and domain stages, stream output, the centre multisample pattern (D3D12_CENTER_MULTISAMPLE_PATTERN), and two stages that both read their code base. Set-0 bindings are refused only on a device without the bindless set (E_NOTIMPL with a log), and standard sample counts are accepted.
  • The known-gaps summary keeps the wave32 pixel-shader case on a GPU whose fragment stage runs 64-wide and cannot require 32, with the same wording as the subgroup section.

Doc tests (test_docs_links, test_docs_list_items, test_docs_encoding, test_docs_design_rows): OK.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7122813002 --> Imported from [ubiquitarianism/leonida](https://github.com/ubiquitarianism/leonida/pull/381#issuecomment-7122813002). Originally posted by [lines9686-rgb](https://github.com/lines9686-rgb) on 2026-11-24T05:17:45Z. --- Thanks, both right. Fixed in the new commit: - The "Refused with a log" list now matches `create_graphics`: hull and domain stages, stream output, the centre multisample pattern (`D3D12_CENTER_MULTISAMPLE_PATTERN`), and two stages that both read their code base. Set-0 bindings are refused only on a device without the bindless set (`E_NOTIMPL` with a log), and standard sample counts are accepted. - The known-gaps summary keeps the wave32 pixel-shader case on a GPU whose fragment stage runs 64-wide and cannot require 32, with the same wording as the subgroup section. Doc tests (`test_docs_links`, `test_docs_list_items`, `test_docs_encoding`, `test_docs_design_rows`): OK.
MoonEyes commented 2026-11-27 23:19:25 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by MoonEyes on 2026-11-27T23:19:25Z.


Hi @lines9686-rgb, thanks for this pull request. It currently conflicts with main (conflicting file(s): docs/d3d12_vulkan.md, runtime/shims/d3d12_com.cpp), so it carries the needs rebase label. CONTRIBUTING.md asks authors to rebase their branch on main; once it merges cleanly the label goes within the hour, and reviews start with the pull requests that do. Could you update the branch when you have a moment? If you no longer plan to continue with it, please say so here.

AI-assisted (Claude Code, Claude Opus 5.5).

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7230051051 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/381#issuecomment-7230051051). Originally posted by [MoonEyes](https://github.com/MoonEyes) on 2026-11-27T23:19:25Z. --- Hi @lines9686-rgb, thanks for this pull request. It currently conflicts with `main` (conflicting file(s): `docs/d3d12_vulkan.md`, `runtime/shims/d3d12_com.cpp`), so it carries the `needs rebase` label. CONTRIBUTING.md asks authors to rebase their branch on `main`; once it merges cleanly the label goes within the hour, and reviews start with the pull requests that do. Could you update the branch when you have a moment? If you no longer plan to continue with it, please say so here. AI-assisted (Claude Code, Claude Opus 5.5).
aslan2142 commented 2026-12-01 10:54:20 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by aslan2142 on 2026-12-01T10:54:20Z.

Review: CHANGES_REQUESTED


The cleanup of stale "not yet" claims in docs/d3d12_vulkan.md and runtime/shims/d3d12_com.cpp is useful (and addressed @moffington's earlier review), but requesting changes for merge readiness:

  1. Merge conflicts: Both docs/d3d12_vulkan.md and runtime/shims/d3d12_com.cpp conflict with current main.
  2. Stale/failing CI: The previous run had failing/cancelled jobs (linux-gpu-tools, stdlib-tests-linux, check cancelled).

Please rebase onto current main (re-checking claims against the latest runtime changes) and run CI to green.

(AI-assisted review.)

<!-- greyfinch-sync:ubiquitarianism/leonida:review:6129826136 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/381#pullrequestreview-6129826136). Originally posted by [aslan2142](https://github.com/aslan2142) on 2026-12-01T10:54:20Z. **Review:** CHANGES_REQUESTED --- The cleanup of stale "not yet" claims in `docs/d3d12_vulkan.md` and `runtime/shims/d3d12_com.cpp` is useful (and addressed @moffington's earlier review), but requesting changes for merge readiness: 1. **Merge conflicts:** Both `docs/d3d12_vulkan.md` and `runtime/shims/d3d12_com.cpp` conflict with current `main`. 2. **Stale/failing CI:** The previous run had failing/cancelled jobs (`linux-gpu-tools`, `stdlib-tests-linux`, `check` cancelled). Please rebase onto current `main` (re-checking claims against the latest runtime changes) and run CI to green. *(AI-assisted review.)*
aslan2142 commented 2026-12-01 16:29:52 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by aslan2142 on 2026-12-01T16:29:52Z.


Closing this PR because the legacy C++ Vulkan runtime (and legacy Python shader compiler) is now considered deprecated in favor of the new Rust Vulkan runtime (in progress) and the Rust DX12 runtime (d3d12/) available now. Thank you for the contribution! If you believe this PR was closed by mistake (for example, if it still applies to active tools, d3d12/, or general docs), please feel free to reopen it.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7317704573 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/381#issuecomment-7317704573). Originally posted by [aslan2142](https://github.com/aslan2142) on 2026-12-01T16:29:52Z. --- Closing this PR because the legacy C++ Vulkan runtime (and legacy Python shader compiler) is now considered deprecated in favor of the new Rust Vulkan runtime (in progress) and the Rust DX12 runtime (`d3d12/`) available now. Thank you for the contribution! If you believe this PR was closed by mistake (for example, if it still applies to active tools, `d3d12/`, or general docs), please feel free to reopen it.

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
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.

Reference
ProjectLeonida/mandy!381
No description provided.