reprend #2173: d3d12_xs: say so when LEONIDA_D3D12=vulkan is asked of a runtime built without the Vulkan device (RT-VULKAN-REQUESTED-NOT-BUILT) #2732

Merged
leonida/mandy
OreoFR merged 3 commits from carry/pr-2173 into main 2026-11-30 17:37:46 +00:00

Pull request successfully merged and closed

OreoFR commented 2026-11-30 13:38:57 +00:00

Carries #2173 by @quartz-heron-58, because it conflicts with main after #2566 and the reminder to merge main (https://github.com/ProjectLeonida/mandy/pull/2173#issuecomment-7256004583) got no answer within the delay of the carry rule. If the author comes back, this carry is dropped.

Item: RT-VULKAN-REQUESTED-NOT-BUILT-CARRY (claimed in https://github.com/ProjectLeonida/mandy/issues/2570#issuecomment-7280119323; original item RT-VULKAN-REQUESTED-NOT-BUILT).

What this branch is

  • The author's branch at ad6045b80, unchanged (no rebase, author commits kept).
  • A merge of main (from the carry preparation of 29/11) that resolves the conflict, then a merge of current main f9f3ec4c6 (no new conflict). Both merge commits carry Co-authored-by the author.
  • Nothing else: the change itself is the original PR's; see #2173 for what and why, and the verifications posted there.

What conflicted and how it was resolved

  • runtime/CMakeLists.txt: the PR's d3d12_backend_test and main's Vulkan header version check both kept.

Tests

  • On this branch (main f9f3ec4c6 merged), Windows 11, Python 3.12, no GPU used: C++ only: left to this PR's CI (no local C++ build in this run).
  • Earlier merge: ctest 502 tests, d3d12_backend passes; red: the test does not compile on main (d3d12_backend.h absent); gta6rt imports identical to main.
  • python -I scripts/check_no_game_data.py on every file this PR changes: clean.
  • CI on this PR covers the rest (C++ build and ctest, the full translator suite).

Depends on: none.

Needs an independent verifier before merge (red/green on another machine), as for any carry.

AI-assisted (Claude Code, oreofr-agent).

🤖 Generated with Claude Code

Carries #2173 by @quartz-heron-58, because it conflicts with `main` after #2566 and the reminder to merge `main` (https://github.com/ProjectLeonida/mandy/pull/2173#issuecomment-7256004583) got no answer within the delay of the carry rule. If the author comes back, this carry is dropped. Item: `RT-VULKAN-REQUESTED-NOT-BUILT-CARRY` (claimed in https://github.com/ProjectLeonida/mandy/issues/2570#issuecomment-7280119323; original item `RT-VULKAN-REQUESTED-NOT-BUILT`). ### What this branch is - The author's branch at `ad6045b80`, unchanged (no rebase, author commits kept). - A merge of `main` (from the carry preparation of 29/11) that resolves the conflict, then a merge of current `main` `f9f3ec4c6` (no new conflict). Both merge commits carry `Co-authored-by` the author. - Nothing else: the change itself is the original PR's; see #2173 for what and why, and the verifications posted there. ### What conflicted and how it was resolved - `runtime/CMakeLists.txt`: the PR's `d3d12_backend_test` and `main`'s Vulkan header version check both kept. ### Tests - On this branch (`main` `f9f3ec4c6` merged), Windows 11, Python 3.12, no GPU used: C++ only: left to this PR's CI (no local C++ build in this run). - Earlier merge: `ctest` 502 tests, `d3d12_backend` passes; red: the test does not compile on `main` (`d3d12_backend.h` absent); `gta6rt` imports identical to `main`. - `python -I scripts/check_no_game_data.py` on every file this PR changes: clean. - CI on this PR covers the rest (C++ build and `ctest`, the full translator suite). Depends on: none. **Needs an independent verifier before merge** (red/green on another machine), as for any carry. AI-assisted (Claude Code, oreofr-agent). 🤖 Generated with [Claude Code](https://claude.com/claude-code)
KelboLive commented 2026-11-30 15:02:24 +00:00

Independent check on Windows (not the author), at 0590fe277.

  • Configured the branch's runtime and built d3d12_backend_test (MSVC 14.52.37025, Windows SDK 10.0.26100).
  • Ran it: all cases pass — PASS note: none when the device is built in, none when the variable is not set, none for an empty value, none for a value the Vulkan build would not take either, none, device built in and nothing asked, 0 failures — exit 0.

Environment: Ryzen 9 7950X3D, Windows 11 Pro 10.0.26200.9711, NVIDIA RTX 4070 Ti SUPER (driver 621.01).

No regressions seen. Based on f9f3ec4c6; a rebase on current main before merge would keep history linear.

AI-assisted: yes (opencode).

Independent check on Windows (not the author), at `0590fe277`. - Configured the branch's `runtime` and built `d3d12_backend_test` (MSVC 14.52.37025, Windows SDK 10.0.26100). - Ran it: all cases pass — `PASS note: none when the device is built in`, `none when the variable is not set`, `none for an empty value`, `none for a value the Vulkan build would not take either`, `none, device built in and nothing asked`, `0 failures` — exit 0. Environment: Ryzen 9 7950X3D, Windows 11 Pro 10.0.26200.9711, NVIDIA RTX 4070 Ti SUPER (driver 621.01). No regressions seen. Based on `f9f3ec4c6`; a rebase on current `main` before merge would keep history linear. AI-assisted: yes (opencode).
MoonEyes commented 2026-11-30 15:47:55 +00:00

Verified by MoonEyes (another owner than OreoFR) on head 0590fe277 merged with main be7690805: Windows 11, MSVC 2022 x64, RelWithDebInfo, RTX 4060 8 GB (NVIDIA). ctest -R ^d3d12_backend$: 1/1 passed. No red: the test needs what this pull request adds to d3d12_backend.h, so it does not build against main.

Unit test only: no run of the title (this is the Vulkan path).

AI-assisted (Claude Code).

Verified by MoonEyes (another owner than OreoFR) on head `0590fe277` merged with `main` `be7690805`: Windows 11, MSVC 2022 x64, RelWithDebInfo, RTX 4060 8 GB (NVIDIA). `ctest -R ^d3d12_backend$`: 1/1 passed. No red: the test needs what this pull request adds to `d3d12_backend.h`, so it does not build against `main`. Unit test only: no run of the title (this is the Vulkan path). AI-assisted (Claude Code).
MoonEyes commented 2026-11-30 17:37:40 +00:00

Merging. Head 0590fe277 merges cleanly with main db9f497bb and does not force a rebase of #2566. Vulkan path: Moon's written OK for this PR without a run in the game and without a red run (the test does not build without the change); ctest green on Windows 11 by another owner. Merged by MoonEyes.

AI-assisted (Claude Code).

Merging. Head `0590fe277` merges cleanly with `main` `db9f497bb` and does not force a rebase of #2566. Vulkan path: Moon's written OK for this PR without a run in the game and without a red run (the test does not build without the change); ctest green on Windows 11 by another owner. Merged by MoonEyes. AI-assisted (Claude Code).
Sign in to join this conversation.
No description provided.