Skip to content

MSL: Rewrite std140 struct padding.#2598

Merged
HansKristian-Work merged 2 commits intomainfrom
fix-2595
Feb 12, 2026
Merged

MSL: Rewrite std140 struct padding.#2598
HansKristian-Work merged 2 commits intomainfrom
fix-2595

Conversation

@HansKristian-Work
Copy link
Contributor

We cannot pad the struct itself, so need to add a proxy template struct that pads based on array stride.

Fix #2595.

@HansKristian-Work HansKristian-Work merged commit bf6bb5c into main Feb 12, 2026
9 checks passed
@HansKristian-Work HansKristian-Work deleted the fix-2595 branch February 12, 2026 19:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

MoltenVK/SPIRV-Cross fails repacking nested cbuffer structs

1 participant