Shader: prove the packed screen-position input for a fullscreen composite #1725
No reviewers
Labels
No labels
accessibility
awaiting author
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
priority: P0
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/R0Y00--Xbox2Windows!1725
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/1725/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?
@KelboLive on GitHub · 2026-11-24 17:53 UTC · original
KelboLive:shader/packed-screen-position→main· +5 −0 · 1 files · 1 commits · closed without mergingWIP: #1629 — initial packed-position test harness and CTest registration
@ChazY11 on GitHub · 2026-11-24 18:24 UTC · original
The new test cannot pass
startup_packed_screen_position_controlsis registered with no arguments:but that script's entry point takes three required positional arguments:
so it fails before it reaches a single case:
That is deterministic and platform independent — no device, DXC or
fxcis involved before the call fails, so it is also red in theRun platform-independent Python checks on Linuxjob.What the PR looks like it meant
The five cases it names exist, but they live inside
main, after the DXC and renderer arguments are used:Only
CMakeLists.txtchanged in this PR, so nothing provides a no-argument path for them.Two ways to close it
mainintocheck_controls()that builds each(label, reg, masks, expected)case throughpixel_shaderand compares the masks, then call it both frommainand from aif len(sys.argv) == 1:branch. That keepsthe new test's intent (five cases, no device).
but then the "controls" test is really a second GPU test under a different name, and
SKIP_RETURN_CODE 77hides it onmost machines.
The first is closer to what the comment above the
add_testpromises.One thing that does work
The
TIMEOUT 120andSKIP_RETURN_CODE 77properties are set, and the naming separates controls from the_warp/_hardwareruns — the shape of the change is right, only the program it starts does not accept the call.
Verdict
Reviewed
10447f23. Not mergeable as it stands: the added test fails on every platform. The fix is small and I am happy toreview the next push.
Notes
@ChazY11 on GitHub · 2026-11-24 21:21 UTC · original
Re-checked at the current head (
6f2ee280): thecontrolstest this PR registers still cannot pass.CMakeLists.txtaddswith no arguments, while the script ends in
and
main(dxc, renderer, adapter)takes three:So the entry is registered, is selected by
-R startup_packed_screen_position, and fails before it can check anything — which isworse than not registering it, because a red CTest looks like a broken fixture rather than a missing argument.
The neighbours solve it the same way everywhere:
startup_buffer_address_check.py,startup_flat_param_check.py,startup_inline_sampler_check.pyandstartup_smem_address_check.pyall take acontrolsword and dispatch before touchingdxc. Mirroring that would make the registration honest without changing any case in the file:I am not touching this branch — it is a WIP for #1629 and the issue has a claim protocol. Flagging the one thing that will
block the merge whenever you pick it back up.
github-bot referenced this pull request2026-11-27 16:59:50 +00:00
Pull request closed