Repository navigation
make_game.py: the pipelines stage log names graphics pipelines too - #2923
Conversation
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>
|
Code read of AI-assisted review (Claude Code). |
|
Tested |
|
Windows 11 validation with synthetic inputs. AI-assisted (Codex). Tested |
Claimed in the coordination issue as: #2891 (comment)
What and why
The
pipelinesstage log said "creating every shader module and compute pipeline on this GPU", but the stage runsvk_pipeline_checkwithout a--stagefilter (make_game.py:1402onec8ec4c9) and the checker's default isall:csbecome compute pipelines andps/vs/ms/gsbecome 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 newtest_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.ec8ec4c9wording, 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.pyclean.tests/test_make_game_*.pybatch: 14/15 OK. The one error (test_preflight_accepts_spaced_llvm_mc_resolved_by_which) is pre-existing on pristineupstream/main77444fa0on this machine (make_game's Python 3.12 requirement vs the local 3.11.9;preflight()is untouched by this PR).main77444fa0(rebased after the round's merges landed mid-cycle).Checklist
docs/design.md, with how it was confirmed. (N/A: this PR adds no translator rule)AI-assisted.