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

Closed
leonida/mandy
lines9686-rgb wants to merge 0 commits from docs-d3d12-vulkan-stale into main

Pull request closed

This pull request cannot be reopened because the branch was deleted.

lines9686-rgb commented 2026-11-24 04:11:36 +00:00

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

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

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?
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

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.

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

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).

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 reviewed 2026-12-01 10:54:20 +00:00
aslan2142 left a comment
No description provided.
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

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.

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.
Sign in to join this conversation.
No description provided.