Repository navigation
feat(freepvr-twin): add offline Volcanic 3D (VDM/PPP/ISP/PBE) and USC (UVSW/SMP/EMITPIX) validators (#4) - #16
Closed
saariuslystoned wants to merge 2 commits into
Closed
saariuslystoned wants to merge 2 commits into
saariuslystoned wants to merge 2 commits into
Conversation
… (UVSW/SMP/EMITPIX) validators (#4)
…PBE/USC validators - _to_u32/_to_u64 strict type checks (reject string/float/non-list, non-integral floats) - VDM/PPP ISP/PBE validators catch TypeError/OverflowError in addition to ValueError - ISP AA negative-shift guard (0..3 range check before 1<<aa) - ISP None/dict type guards, safe-int helper, MSP/ZLS dead-code removal - PBE fb_width/height safe-int, VA-aware surface OOB check - 3D bundle DCE qwords KeyError fix, geom/frag type guards, shader or-vs-None fix - decode_stream FAIL-CLOSED (type/value validation, EOI scan, dword element checks) - freecs _to_u helpers hardened for base validator reuse - Adding test_g4_hardening regression suite (13 fail-closed cases)
Contributor
Author
Adversarial Hardening & Public-Roads Audit Receipt (
|
Contributor
Author
|
Closing this PR after vetting against silicon-proven PowerVR Volcanic (
Follow-up work for #4 will land a clean PR porting the exact silicon-verified Volcanic |
4 tasks
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.
Addresses #4 (offline G4.2 + G4.3 validation milestones in
freepvr-twin: Volcanic 3D control stream validators forVDM/PPP/ISP/PBE, vertex/fragment USC encodings & sequencing validators forUVSW/SMP/EMITPIX, and G4.4 smoke fixtures).Summary
freepvr-twin): validatesVDM(PPP/PDS/INDEX_LIST/TERMINATE, alignment, topology, zero-count, truncation),PPP(word counts, region-clip bounds, Rogue-bit rejection),ISP(ISP_CTL,ISP_AA/TE_AA), andPBE(non-zero VA, Rogue shift2 rejection, format, clip bounds, tile OOB), exposed viafreecs-validate --kind 3d-job --input bundle.json.freeusc_sim.py): adds clean-room encode/decode, execution, and static sequencing validators forUVSW(write-before-endtask, single endtask, write-after-endtask),SMP(descriptor/dst bounds,dmn/lodm), andEMITPIX(exact-once end-flag sequencing).fixtures.py,freepvr-twin/tests/test_g4_3d.py,tests/test_g4_3d_offline.py): clear color (0xFF3366CC), single colored triangle (0xFF00FF00VS+FS), and textured quad (SMP+EMITPIX), runnable viafreeusc-sim --fixture clear_color|tri_vertex|tri_fragment|textured_quad.Verification
python3 -m unittest discover -s freepvr-twin/tests -v: 64/64 PASSpython3 -m unittest discover -s tests -v: 12/12 PASS./scripts/clean-room-audit.sh: PASS (0 violations, 67 files)--kind 3d-job&--fixturechecks +git diff --check: PASS