Commit Graph

12 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
79ae33a9ca Merge pull request #4608 from leather147
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:16:23 -05: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
cc8fdf19af spirv_interface: reflect MeshNV outputs
AI-assisted (Codex).
2026-11-23 06:07:44 +03: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
a046567310 fix(tools): reflect shader array specialization defaults
The link checker has no specialization overrides. Use the literal default of an interface array length instead of rejecting the module it can compare.
2026-11-22 18:06:45 +01:00
461218a6be fix(spirv_interface): reject 64-bit vec2 at Component 2 spanning two locations 2026-11-22 11:59:14 -03:00
f696ad2468 Check SPIR-V interfaces between translated graphics stages
Reflect actual binary user-defined inputs and outputs. Audit stage pairs and chains by location, component, type, and per-primitive domain. Handle arrays used for invocation indexing and explicit maintenance4 matching. Add batch reports, inspection, and standard-library regression tests.

Tested on Linux with synthetic modules and Mesa llvmpipe. VS+PS and VS+GS+PS fixtures draw 4096 expected pixels each. Vulkan validation and the auditor agree on the missing Location 5, Component 2 of a negative case. Mesh+PS fixtures pass spirv-val and the interface check. AI-assisted.
2026-11-22 14:22:26 +01:00