shader: split shared samplers on 1D and cube images #1095
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1102"
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?
Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-24T01:03:22Z.
Change
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
Imported from R0Y00/Xbox2Windows. Originally posted by chatgpt-codex-connector[bot] on 2026-11-24T01:03:33Z.
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.