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

Open
github-bot wants to merge 3 commits from github-bot/gh-381 into main AGit
Owner

@⁠lines9686-rgb on GitHub · 2026-11-24 04:11 UTC · original
lines9686-rgb:docs-d3d12-vulkan-stale → main · +48 −59 · 2 files · 3 commits · open

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

**@⁠lines9686-rgb** on GitHub · 2026-11-24 04:11 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/381) `lines9686-rgb:docs-d3d12-vulkan-stale` → `main` · +48 −59 · 2 files · 3 commits · open 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)
Queues each lease their own VkQueue, a CPU fence Signal is held behind pending GPU signals, 1D textures and
1D DSVs exist, default-heap buffers are zeroed, PSOs bind set 0 and honour IBStripCutValue, literal S#s are
registered at PSO creation, shader-visible heap GPU handles reach shaders, resources are shared CONCURRENT
across dedicated queue families, and question 13's uniform-buffer tail is not built (PSOs are refused).
Also: a cut-off duplicate of the Known gaps paragraph, the variants table moved under its introduction,
the xbox_present_test bullet pulled out of the sampler2 bullet, repeated sentences, the stale ESRAM note,
the older duplicate row of question 20, and the matching stale comment in d3d12_com.cpp.

Also: timestamps share one frequency because timestampPeriod is per device (d3d12_com.cpp comment), and dedicated queue families only when the runtime selects them (sparse binding).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Review by @moffington.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 08:56:52 +00:00
Author
Owner

@⁠moffington on GitHub · 2026-11-24 05:04 UTC · original

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?
**@⁠moffington** on GitHub · 2026-11-24 05:04 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/381#issuecomment-7122597798) 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?
Author
Owner

@⁠lines9686-rgb on GitHub · 2026-11-24 05:17 UTC · original

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.

**@⁠lines9686-rgb** on GitHub · 2026-11-24 05:17 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/381#issuecomment-7122813002) 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.
This pull request has changes conflicting with the target branch.
  • docs/d3d12_vulkan.md
  • runtime/shims/d3d12_com.cpp
View command line instructions

Manual merge helper

Use this merge commit message when completing the merge manually.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/381/head:github-bot/gh-381'
git switch 'github-bot/gh-381'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-381'
git switch 'github-bot/gh-381'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-381'
git switch 'github-bot/gh-381'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-381'
git switch 'main'
git merge --squash 'github-bot/gh-381'
git switch 'main'
git merge --ff-only 'github-bot/gh-381'
git switch 'main'
git merge 'github-bot/gh-381'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No description provided.