Commit Graph

8 Commits

Author SHA1 Message Date
a0996d0b07 spirv_interface: validate outer array length, initializer ID, struct/member and stage decorations 2026-11-25 04:57:19 +01:00
3ccd1ac397 spirv_interface: enforce MAX_TYPE_DEPTH across shape_cache and reject matrix nonzero Component 2026-11-24 14:49:09 +00:00
313eb9c4ca Merge pull request #4470 from leather147
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:15:02 -05:00
dc4cecb0fe Merge pull request #4220 from leather147
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:12:28 -05:00
1c4666c568 spirv_interface: accept internal float encoding declarations
AI-assisted (Codex).
2026-11-23 04:37:40 +03:00
fc393b98ea spirv_interface: accept Int8 array length constants 2026-11-23 03:06:44 +03:00
dc33bf9571 spirv_interface: accept repeated interface IDs before SPIR-V 1.4 2026-11-23 02:17:11 +03:00
a93b2f18c1 test(tools): add unit tests for spirv_interface
Add stdlib-only unit tests (tests/test_spirv_interface.py, 38 tests) covering synthetic little/big-endian SPIR-V parsing, instruction stream and literal string decoding, numeric/aggregate shapes, decoration groups, entry-point selection, stage I/O layouts (blocks, BuiltIn, PerVertexKHR, PerPrimitiveEXT, GS/MS outer arrays, dual-source indices, overlap detection) and malformed-input errors. No game files; does not touch tools/spirv_interface.py (no conflict with #1909).
2026-11-22 16:48:04 +01:00