shader: replace #3225 image descriptor work #3351
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#3351
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
@romn4rch on GitHub · 2026-11-28 11:26 UTC · original
Change
Replacement for #3227: this PR carries the pixel-stage GFX10 image-descriptor size-field lowering and addresses the outstanding review feedback on descriptor-load provenance, swapped
s_lshr_b32operands, and views whose first mip is not resource mip 0. It adds regression controls for ans_load_dwordx16upper image, overwritten descriptor words, and branched code, and registers the control test in the Windows PR CTest preset. The original #3227 remains open; updating its author-owned head failed with HTTP 403, so this is a separate replacement submission, not a request to merge or close either PR. Refs #3227.Verification
Passed locally:
python -B tests/startup_gfx2hlsl_image_desc_word_check.pypython -B tests/startup_image_sample_l_check.pypython -B tests/startup_gfx2hlsl_cselect_descnum_check.py(includes expected negative-control mutant failures; check exits successfully)python -B tests/startup_gfx2hlsl_load_desc_check.pypython -B tests/startup_gfx2hlsl_scalar_m0_check.pypython -B tests/startup_gfx2hlsl_image_get_lod_check.pypython -B tests/startup_tools_lint_check.py tools/startupgit --no-pager diff --check origin/main...HEADctest --preset pr -N -R '^startup_gfx2hlsl_image_desc_word_controls$'reportedTotal Tests: 0: this worktree has no configured dev CTest build, so the registered CTest was not run locally. On this PR's commit, GitHub Actions currently has three jobs pending (Build and test on Windows,Assemble and translate gfx1013 fixtures, andRun platform-independent Python checks on Linux);Build and test on Windows at /O2is skipped. GitHub reportsmergeable=true,mergeable_state=blocked; the three pending jobs are the visible blocker.Evidence and follow-up
The new controls extend the repository's source-built image-sample fixture with synthetic instruction encodings; no game files or external samples are used. Negative controls ensure nonmatching/unsafe descriptor reads remain refused. The behavior and reproduction command are documented in
docs/experiments.md; local GPU draw validation was not run.Checklist
If this change was AI-assisted, say so in the description. Recent contributions follow this practice.
AI-assisted.
Pull request details or commits were not available from GitHub; kept as an issue.
shader: pixel image descriptor review follow-upto shader: replace #3225 image descriptor work