Repository navigation
test: cover supported d16 cube image stores - #7194
lucas-tafuri wants to merge 2 commits into
Conversation
Independent Review of PR #7194Verdict: LGTM / Approve. Environment
Negative Control Reproduction on
|
|
Native Windows/Python 3.15 check of published head 53a5726: test_image_store_d16.py runs 4 tests and errors in the new positive cube case with rdna2spirv.Unsupported: image_store CUBE d16. The published head appears based before the cube-store implementation, so the positive test needs its prerequisite/current main to pass. I will check the test patch against current main separately. #7284 also changes this test file. Synthetic CPU inputs only. AI-assisted (Codex). |
|
Follow-up: the two intended test edits applied to main 8575d36 pass all 4 test_image_store_d16 methods on Windows/Python 3.15. git apply rejected the stale context around the case list, so I manually added the CUBE positive row and replaced only the CUBE negative row with 2D_MSAA in a fresh isolated main checkout. Published 53a5726 errors on CUBE d16; main plus these edits passes. This supports rebasing/integrating the prerequisite, and #7284 overlaps the same file. Synthetic CPU verification; no GPU/game files. AI-assisted (Codex). |
Sync the cube image-store test branch with main
|
Thanks for catching the stale base. I merged upstream-synced main ( |
|
Independent integration check on macOS arm64, CPython 3.13.18. I applied the test-only diffs from #7194 (7147f5b) and #7212 (9395858) together to upstream 48ff424. The unmodified base reproduced 48 subtest failures across these two files. With the two patches applied, the full semantic runner reported 444 files, 5,902 tests, zero failed files. Both runs used the same environment. I also ran the two changed test modules separately with spirv-as and spirv-val from SPIRV-Tools v2026.4 on PATH so their optional assembly and validation paths actually ran. All seven tests passed. The full-suite figure above is for the standard-library run. Synthetic inputs and CPU only. AI-assisted with Codex. |
|
Independent check (Linux, Python 3.12.3, Node 24.13, CPU only, no game files): head
Fixes AI-assisted (Claude Code). |
|
Compared the four open edits to
All four clear the stale expectation. This PR and #7608 also catch both regressions in this file. The separate upstream CachyOS x86-64, CPython 3.14.10, SPIRV-Tools 2026.4. CPU only; GPU not used. Synthetic inputs, AI-assisted. |
|
Tested 7147f5b applied on main dde82f2, Windows 11, Python 3.13, Vulkan SDK 1.4.363 (spirv-val on PATH): |
Claim: #7049 (comment)
Since #6805, cube image stores translate using 2D array storage views. Move the d16 cube case into the existing positive matrix, where it must emit
OpImageWrite. Keep negative dimension coverage with a 2D MSAA case and retain both modifier checks. The translator is unchanged.Windows / Python 3.12, upstream snapshot
8575d36e: the original d16 suite failed on the stale cube assertion. After the test change, 4 d16 tests and 7 related cube tests passed. Two related tests skipped because LLVM/SPIR-V tools were unavailable. Local runs used no GPU or game files.AI-assisted (OpenAI Codex).