Skip to content

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
MoonEyes merged 3 commits into
ProjectLeonida:mainfrom
OreoFR:carry/pr-2173
Nov 30, 2026

Conversation

@OreoFR

@OreoFR OreoFR commented Nov 30, 2026

Copy link
Copy Markdown
Collaborator

Carries #2173 by @quartz-heron-58, because it conflicts with main after #2566 and the reminder to merge main (#2173 (comment)) 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 #2570 (comment); original item RT-VULKAN-REQUESTED-NOT-BUILT).

What this branch is

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

quartz-heron-58 and others added 3 commits November 26, 2026 09:53
…t without the Vulkan device (RT-VULKAN-REQUESTED-NOT-BUILT)

A gta6rt configured without Vulkan headers is built without
LEONIDA_VULKAN_DEVICE. D3D12XboxCreateDevice then ignored
LEONIDA_D3D12=vulkan without a word and wrapped the host's D3D12 device,
so a run stopped somewhere else and read like a boot result.

It now prints one [rt] d3d12_xs line naming the cause and the configure
options. Which device is created does not change. The reading of the
variable moves to shims/d3d12_backend.h, used by both builds; new CPU-only
test d3d12_backend, registered outside the Vulkan-headers block.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
CMakeLists: d3d12_backend_test (PR) and the Vulkan headers version check (main) both kept.

Co-authored-by: quartz-heron-58 <245169279+quartz-heron-58@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Current main after ProjectLeonida#2566; no new conflicts on top of the earlier carry merge.

Co-authored-by: quartz-heron-58 <245169279+quartz-heron-58@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@KelboLive

Copy link
Copy Markdown

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

Copy link
Copy Markdown
Collaborator

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

MoonEyes commented Nov 30, 2026 •

Copy link
Copy Markdown
Collaborator

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

@MoonEyes
MoonEyes merged commit f0143cd into ProjectLeonida:main Nov 30, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants