Shader tests: require a device readback in every waterfall test #1695
No reviewers
Labels
No labels
accessibility
area: build
area: formats
area: gpu
area: loader
area: runtime
area: shader
bug
documentation
duplicate
enhancement
good first issue
gpu: amd
gpu: intel
gpu: nvidia
help wanted
host: wine
invalid
out of scope
question
request
run report
triage: confirmed
triage: has patch
triage: merge candidate
triage: needs info
triage: needs rebase
triage: needs work
triage: proposed close
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Marvisak--VIctory!1695
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/1695/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?
@zhaibingye on GitHub · 2026-11-24 20:48 UTC · original
zhaibingye:fix/waterfall-require-device→main· +8 −8 · 1 files · 1 commits · merged 2026-11-25 00:23 UTCRelated to #1605. Three waterfall GPU tests passed without checking any lane values when both hardware and WARP were unavailable. Move the existing nonempty-readback assertion into the shared dispatch helper. One working backend is sufficient.
Verified by running the Windows test binary under Wine 10 with no usable SM 6.6 device. Main reported 3 passed and 2 failed with zero readbacks. After the fix, all five reported the missing device. Portable shader tests: 96 passed, 1 ignored. Windows-target Clippy passed. Native hardware and WARP readbacks were not tested locally.
AI assistance: OpenAI Codex.
@steven-seagull27 on GitHub · 2026-11-24 21:33 UTC · original
All five waterfall tests passed on the RTX 5080 and on built-in Windows WARP at PR head
6493dd9(Windows 11 build 26300.10075, NVIDIA driver 621.24). I ran the tests with each adapter alone and with both enabled. Temporary logging identified the D3D12 adapter that returned each readback.Each adapter returned six 32-lane readbacks per run. The
v_cmpxtest dispatches both folded and unfolded variants, which accounts for the sixth readback across five tests.No-device comparison. I used the same test-only filter on both revisions to skip both adapters before dispatch, producing zero readbacks. The parent (
ffe310e) reported 3 passed, 2 failed. These three tests passed without checking a lane on the parent and correctly failed on this PR:lanes_load_from_the_buffer_their_nested_arms_choselanes_sample_the_texture_their_arm_loaded_or_pickedlanes_sample_the_texture_their_if_else_arm_choseWith the filter on
6493dd9, all five failed withneither hardware nor WARP SM 6.6 device available. Either real adapter alone was sufficient for all five to pass.The full
victory-shaderlibrary suite on the unmodified PR head also passed with 120 passed, 0 failed, 1 benchmark ignored.