Repository navigation
feat(probes): add 4 clean-room GLSL 4.60 paired-twin subgroup shuffle/ballot probes (local_size_x=128) (#7) - #14
Merged
Conversation
…ired-twin probes (#7)
…r contract, 37-probe README counts Adversarial hardening pass on the 128-wide subgroup shuffle/ballot paired-twin corpus (PR #14). All 4 new GLSL 4.60 probes compile clean under glslangValidator 16.6.0 and pass spirv-val for both vulkan1.2 and vulkan1.3; SPIR-V shows correct GroupNonUniform capabilities, Workgroup scope, uvec4 (128-bit) ballot, std430 offsets 0/1024/2048/3072, and unconditional subgroup ops in uniform control flow. Sweeper never dispatches, so the [256] SSBO bounds are moot for capture (1-2 workgroups of 128 fit). Fixes found by fuzzing + doc sweep: - gen_spirv_probes --self-test now fails closed when .comp files are missing (was a vacuous PASS with an empty --out-dir). - volcanic_bitdiff.bit_ranges_from_mask rejects width outside [0, 4096] (was an O(width) hang on huge widths). - rgx_sh_parser maps OSError to ValueError (single error contract for bad file inputs; CLI exits 1 with a clean message). - README probe counts 33 -> 37 (6 stale spots PR #14 missed). Proof: 37/37 glslangValidator+spirv-val PASS (vulkan1.2 + 1.3), manifest sha256/sizes bit-identical to fresh regen, 508 fuzz ok / 63 clean rejections / 0 crashes, clean-room audit PASS 0 violations on 68 files, unittest 10 + 25 PASS.
Contributor
Author
Adversarial Hardening & Public-Roads Audit Receipt (
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #7.
Summary
probes/spirv/(local_size_x = 128, zero.spvbinaries committed) isolatingsubgroupShuffle,subgroupShuffleXor,subgroupBallot, andsubgroupAdd.tools/freeusc/gen_spirv_probes.py,probes/CAPTURE-MANIFEST.md,probes/spirv/README.md, and.github/workflows/ci.ymlfrom 33 → 37 probes.tests/test_freepvr_offline.pywith 37-probe parity check, 128-wide subgroup probe structure test, and SPIR-V compile +spirv-val+spirv-disopcode assertions (OpGroupNonUniformShuffle,OpGroupNonUniformShuffleXor,OpGroupNonUniformBallot,OpGroupNonUniformIAdd).Verification
python3 tools/freeusc/gen_spirv_probes.py --self-test: PASS (37/37 probes validated).python3 -m unittest discover -s tests -v: 10/10 OK.python3 -m unittest discover -s freepvr-twin/tests -v: 25/25 OK../scripts/clean-room-audit.sh: PASS (0 violations across 68 files)..spvbinaries committed.