shader: split shared samplers on 1D and cube images #1102
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!1102
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/1102/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?
@tedin7 on GitHub · 2026-11-24 01:03 UTC · original
tedin7:x2w-spirv-sampler-split-1d-cube→main· +73 −13 · 5 files · 1 commits · merged 2026-11-24 01:36 UTCChange
Refs #1079. Extend the standalone sampler split to float32
Texture1D,Texture1DArray,TextureCubeandTextureCubeArrayin the existing compute and zero-LOD profile. Comparison sampling stays at the original binding, and ordinary sampling uses the new binding.Verification
Tested commit
1f567822on Debian 13 with SPIRV-Tools v2025.1.python3 -B tests/spirv_window/check.pyexited 0. All four variants passed Vulkan 1.2 validation before and after lowering. Each variant kept both comparison samples on binding 2 and routed the ordinary sample to binding 5.origin/mainatb9beb159: exit 1 on the first variant,Texture1D, after the input passed validation. First diagnostic was%34: only float32 Texture2D and Texture2DArray sampling is supported.python3 -B tests/spirv_window/compare_sampler.py spirv-as spirv-val spirv-crossexited 0. The existing 2D and 2D array fixtures and the 3D and multisample rejection controls passed.python3 -B tests/docs_links_check.pyexited 0 and checked 243 links.python3 -B tests/bidi_controls_check.pyexited 0 and checked 922 files.git diff --checkexited 0.Evidence and follow-up
The test generates the four variants from the repository's MIT-licensed
shared_sampler.spvasmfixture, with the corresponding image capabilities and coordinate widths.spirv-as --target-env vulkan1.2andspirv-val --target-env vulkan1.2check each input and output. The new cases exercise offline translation. GPU readback coverage remains on the existing 2D fixture.The README experiment table and standalone split section in
docs/experiments.mddocument the added dimensions and command. This change was AI-assisted.Checklist
@chatgpt-codex-connector[bot] on GitHub · 2026-11-24 01:03 UTC · original · edited 2026-11-24 01:07 UTC
Codex Review Summary: ✅ Completed
This comment shows the latest Codex review activity on this pull request.
1f56782ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.