OLD-5718: d3d12_vulkan_device.cpp, four comments that still describe missing work #380

Merged
lines9686-rgb merged 1 commit from upstream-pr/380 into main 2026-11-24 14:54:11 +00:00
lines9686-rgb commented 2026-11-24 04:11:33 +00:00 (Migrated from github.com)

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


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

What and why

Four comments in runtime/shims/d3d12_vulkan_device.cpp still describe work that has since landed: pipeline states are compute and graphics, timestamps come from the device's timestampPeriod (not one shared VkQueue), R8/R16 SNORM vertex formats have an input-layout mapping, and typed buffer UAVs are written by the layer (write_buffer_uav). Comments only.

Tested

Comments only; each statement checked against this main.

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:5465929038 --> Imported from [ubiquitarianism/leonida](https://github.com/ubiquitarianism/leonida/pull/380). Originally posted by [lines9686-rgb](https://github.com/lines9686-rgb) on 2026-11-24T04:11:33Z. --- Claimed in the coordination issue as: `OLD-5718` (carried over from the original repository, same author) ### What and why Four comments in `runtime/shims/d3d12_vulkan_device.cpp` still describe work that has since landed: pipeline states are compute and graphics, timestamps come from the device's `timestampPeriod` (not one shared `VkQueue`), R8/R16 SNORM vertex formats have an input-layout mapping, and typed buffer UAVs are written by the layer (`write_buffer_uav`). Comments only. ### Tested Comments only; each statement checked against this `main`. 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)
Oliwettoo commented 2026-11-24 10:34:14 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by Oliwettoo on 2026-11-24T10:34:14Z.


Checked each corrected comment against the file: create_graphics exists beside create_compute, vertex_format does map R8/R16 SNORM/SINT now, timestamps come from the graphics family's timestampValidBits, and buffer UAVs go through write_buffer_uav. Comment-only, all four now match the code. Ship. AI-assisted review.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7128955835 --> Imported from [ubiquitarianism/leonida](https://github.com/ubiquitarianism/leonida/pull/380#issuecomment-7128955835). Originally posted by [Oliwettoo](https://github.com/Oliwettoo) on 2026-11-24T10:34:14Z. --- Checked each corrected comment against the file: `create_graphics` exists beside `create_compute`, `vertex_format` does map `R8/R16 SNORM/SINT` now, timestamps come from the graphics family's `timestampValidBits`, and buffer UAVs go through `write_buffer_uav`. Comment-only, all four now match the code. Ship. AI-assisted review.
QemmHD commented 2026-11-24 14:54:08 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by QemmHD on 2026-11-24T14:54:08Z.


Merging.

Why merged: Comment-only fix in d3d12_vulkan_device.cpp: four stale comments now describe what the code actually does. Oliwettoo checked each one against the code ("Ship").

Why it's good: No code change: the diff touches only comments.

Tested on Windows 11 / RTX 4070 SUPER: merged alone onto main 47c651174, where the repo-consistency set (cmake/translator-deps, shader_stage_resume, runtime_paths, docs, make_game, no-game-data, run_semantic_tests) gives 566 passed / 5 skipped / 0 failed with this PR in. git merge-tree against current main 8f05e09e2: no conflicts. Security read of the three-dot diff: no binaries, game data, downloads, network calls or CI changes.

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

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7135134561 --> Imported from [ubiquitarianism/leonida](https://github.com/ubiquitarianism/leonida/pull/380#issuecomment-7135134561). Originally posted by [QemmHD](https://github.com/QemmHD) on 2026-11-24T14:54:08Z. --- Merging. **Why merged:** Comment-only fix in d3d12_vulkan_device.cpp: four stale comments now describe what the code actually does. Oliwettoo checked each one against the code ("Ship"). **Why it's good:** No code change: the diff touches only comments. Tested on Windows 11 / RTX 4070 SUPER: merged alone onto main 47c651174, where the repo-consistency set (cmake/translator-deps, shader_stage_resume, runtime_paths, docs, make_game, no-game-data, run_semantic_tests) gives 566 passed / 5 skipped / 0 failed with this PR in. git merge-tree against current main 8f05e09e2: no conflicts. Security read of the three-dot diff: no binaries, game data, downloads, network calls or CI changes. AI-assisted (Claude Code, Claude Opus 5.5).
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!380
No description provided.