Skip to content

make_game.py: the pipelines stage log names graphics pipelines too - #2923

Merged
ItsNotRexed merged 1 commit into
ItsNotRexed:mainfrom
jaybeebabageyus:hb-pipemsg
Nov 22, 2026
Merged

ItsNotRexed merged 1 commit into
ItsNotRexed:mainfrom
jaybeebabageyus:hb-pipemsg

Conversation

@jaybeebabageyus

Copy link
Copy Markdown
Contributor

Claimed in the coordination issue as: #2891 (comment)

What and why

The pipelines stage log said "creating every shader module and compute pipeline on this GPU", but the stage runs vk_pipeline_check without a --stage filter (make_game.py:1402 on ec8ec4c9) and the checker's default is all: cs become compute pipelines and ps/vs/ms/gs become graphics pipelines with partner stubs (runtime/test/vk_pipeline_check.cpp:2-9). The compute-only wording misled a review of #2815 (RT-191) into thinking graphics shaders are only turned into modules (finding by @iurysf on #2891). The line now says compute and graphics.

Tested

Windows 11, Python 3.11.9, CPU only, mocked checker, synthetic fixtures; no game files, no GPU.

  • python -I tests/test_make_game_pipelines.py: 12/12 OK, including the new test_the_stage_log_names_compute_and_graphics_pipelines, which captures the stage's log lines and asserts the announce line names graphics and compute pipelines.
  • Negative control: with only the message reverted to the ec8ec4c9 wording, the new test fails ('graphics' not found in 'pipelines: creating every shader module and compute pipeline on this GPU') and passes with the fix.
  • python -I -m compileall make_game.py tests/test_make_game_pipelines.py clean.
  • The rest of the tests/test_make_game_*.py batch: 14/15 OK. The one error (test_preflight_accepts_spaced_llvm_mc_resolved_by_which) is pre-existing on pristine upstream/main 77444fa0 on this machine (make_game's Python 3.12 requirement vs the local 3.11.9; preflight() is untouched by this PR).
  • Based on current main 77444fa0 (rebased after the round's merges landed mid-cycle).

Checklist

  • No game data, keys or decryption (CONTRIBUTING.md), including in logs or reports quoted here.
  • A new translator rule is in the contract table of docs/design.md, with how it was confirmed. (N/A: this PR adds no translator rule)

AI-assisted.

The stage runs vk_pipeline_check without a --stage filter and the checker's default is all: cs become
compute pipelines, ps/vs/ms/gs become graphics pipelines with partner stubs (runtime/test/vk_pipeline_check.cpp),
so the announce line claiming compute only misled a review of ItsNotRexed#2815 (RT-191) into thinking graphics shaders
are only turned into modules. The line now says compute and graphics; a regression test pins the announce
line and fails on the old wording. Found by @iurysf.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@tupacfan04

Copy link
Copy Markdown
Contributor

Code read of 8da9c661. Accurate. The stage runs vk_pipeline_check without --stage, so it creates graphics pipelines too, and the log line now says so.

AI-assisted review (Claude Code).

@Marukooh

Copy link
Copy Markdown
Contributor

Tested 8da9c661 on CachyOS Linux, Python 3.14, CPU only. All 12 pipeline-stage unit tests passed on the head. A local trial merge with BUILD-667 (#2585 at f5c2cce1) merged cleanly and passed all 80 pipeline, dry-run and shader-stage resume tests. AI-assisted, synthetic inputs only.

@UNYTIX

UNYTIX commented Nov 22, 2026

Copy link
Copy Markdown
Contributor

Windows 11 validation with synthetic inputs. AI-assisted (Codex).

Tested 8da9c6618 with CPython 3.15.2. python -B -I tests/test_make_game_pipelines.py -v passed 12/12 (exit 0). With the PR tests against 77444fa0, the new log test was the sole failure (exit 1); the old text omitted graphics. The checker and its output were mocked. No pipeline was compiled.

@ItsNotRexed
ItsNotRexed merged commit 1631d6a into ItsNotRexed:main Nov 22, 2026
2 of 4 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.

5 participants