Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need a way to disable uniform buffer layout validation in spirv-val #628

Closed
hrydgard opened this issue May 21, 2021 · 0 comments · Fixed by #635
Closed

Need a way to disable uniform buffer layout validation in spirv-val #628

hrydgard opened this issue May 21, 2021 · 0 comments · Fixed by #635
Assignees
Labels
t: bug Something isn't working

Comments

@hrydgard
Copy link
Contributor

Vulkan implementations can support more relaxed layouts for uniform buffers (and also storage buffers) than the usual std140 or std430. spirv-val needs to be told, though, to not validate, if you intend to run your SPIR-V output on a Vulkan implementation that supports these (which is most, nowadays).

See KhronosGroup/SPIRV-Tools#3153

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
t: bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants