Repository navigation
Weight Vulkan geometry pipeline creation by stored SGD5 pass occurrences - #5923
kacper-serewis wants to merge 2 commits into
Conversation
|
Verified the weighted outcomes at
I compared the two private reports by VS/GS/PS identity and multiplicity. All 301 entries matched across runs. This exercises both the skipped and created paths of the stock checker on Ampere. The alternate translation relaxes float controls. The test measured pipeline creation only and made no draw or numerical comparison. AI-assisted. Only aggregate results are published. |
|
Verified on main 561b65a: merges clean despite an 1800-commit-old base, both new suites genuinely run their tools (test_sgd5_geometry_creation 2, test_sgd5_pass_link_summary 2), the link-summary half matches shader_link_check's real version-1 report format, and the writer pins newline="utf-8"/"\n" correctly. Two reviewer notes: the geometry half drives vk_pipeline_check --graphics-manifest, and that flag exists only in open PR #2366 — main's vk_pipeline_check.cpp has zero occurrences (verified, #2366's diff has 8) — so this tool is inert until #2366 lands; and the new doc section tells users to run tools/sgd5_pass_pipelines.py, which exists in neither this PR nor main. Checks pending. AI-assisted: yes. Tested on Linux (RTX 5080 host, CPU-only run). |
shayderrr
left a comment
There was a problem hiding this comment.
Review
Reviewed change in PR #5923: Weight Vulkan geometry pipeline creation by stored SGD5 pass occurrences.
Scope: docs/pipeline_check.md, tests/test_sgd5_geometry_creation.py, tests/test_sgd5_pass_link_summary.py, +2 more
Diff: +397 / -0 across 5 file(s).
The change stays inside the stated scope and the touched files line up with the description. No unrelated production paths are pulled in, and the stated behavior is directly exercised by the diff. I'm approving this one.
Reviewed by shayderrr via automated batch review.
|
Thanks @kacper-serewis - I went through Weight Vulkan geometry pipeline creation by stored SGD5 pass occurrences and the diff around |
|
Independent hardware check of I exported the stored passes from my local Xbox Series 1.0.2.1 package with #5207 at
All 301 default skips had the same checker reason, AI-assisted with Codex. |
Coordination item BUILD-1912.
Claimed as SHADER-SGD5-GPU-OCCURRENCES in the coordination board.
Depends on: #2366 (Vulkan checker with real partners)
Depends on: #5207 (stored pass export)
Depends on: #5717 (shared pass identity and counting helpers, stack parent)
Run
python -I tools/sgd5_geometry_creation.py passes.json spirv --checker path/to/vk_pipeline_check. Each distinct stored VS/GS/PS triple gets one checker manifest row. The summary weights the observed outcomes by stored pass occurrences. The optional private report records each triple, its multiplicity, and its outcome. Missing modules, missing index entries, module failures, skips and Vulkan pipeline failures have distinct statuses. Partial, duplicate or unexpected results are errors.Validation. On native Windows with NVIDIA GeForce RTX 5070 driver 616.56, the unmodified #2366 checker at e03d163 skipped all 301 distinct cached triples (364 occurrences) from translation 5e576db. The checker predates recognition of the translator's FP16 denormal-preservation requirement. All required module files were present. These results measure the creation checker, with no draw commands or authored render-state validation.
A second private run built the same checker with the two-line device-property check from main commit a094bd2. With the same modules, driver, and device, Vulkan created 301/301 pipelines covering 364/364 stored occurrences. All 903 stage-module creations succeeded. There were zero missing modules, pipeline failures or skips. Each pipeline outcome was joined back by manifest identity and weighted against the stored pass export. The translated modules and their metadata were unchanged.
The synthetic weighted-outcome tests and the existing stored-pass summary, CI registration, docs links, text line endings and compileall checks passed. All eight #2366 checker tests passed with the native executable. Only aggregate counts are published. AI-assisted with Codex.