test_shader_checks: count and fake cs_w32_shift64 (six tests red on main since #590) #721
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
missing claim
needs rebase
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/ubiquitarianism--leonida!721
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/721/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@Boost9898 on GitHub · 2026-11-24 12:54 UTC · original
Boost9898:fix/shader-checks-shift64→main· +11 −2 · 1 files · 1 commits · merged 2026-11-24 13:10 UTCClaimed in the coordination issue as: #14
What and why
#590 (
49d904fef) addedcs_w32_shift64tomain()inruntime/test/shaders/check.py: a dump whose input records are seeded throughVKC_HEAP_INIT.tests/test_shader_checks.pywas not updated, so sixWave64Checkstests fail onmain51f316092:TOTALdoesn't count the new case, so the expectedN of TOTAL passline is one short (215 of 219vs215 of 220).cs_w32_shift64, so it falls through to the default branch, writes no dump, and the case fails withno VKC_DUMP file written.This counts the case in
TOTALand teaches the fake harness to answer it likecs_heap_init. It checks the1 dumparguments andVKC_OUT_WORDS, then returnscheck.shift64_words()'s expected words only when theVKC_HEAP_INITfile holds the seeded input records. Otherwise it echoes the input back, so acheck.pythat stops seeding the inputs still fails.Tested
Apple M4, macOS 26.5.1, Python 3.14.8 and 3.12.10, CPU only, no game files.
tests/test_shader_checks.py: 14 failures onmain51f316092. With this change, 87 OK on both versions.tests/test_gpu_shift64.py: OK on both versions.check.shift64_testmakes the 14 failures come back.python -m compileall,git diff --checkandscripts/check_no_game_data.pyon the changed file: clean.GPUs tested: n/a (no GPU tests involved)
AI-assisted: yes
Checklist
mainand merges cleanly (a conflicting pull request is labeledneeds rebase).docs/design.md, with how it was confirmed. (n/a: no translator rule changes)@abnalstlll-byte on GitHub · 2026-11-24 13:25 UTC · original · approved these changes
Audited and verified. Clean-room compliant.