Skip to content

How do I solve BUFFER_BINDINGS_NOT_16_BYTE_ALIGNED issue? #3116

Answered by grovesNL
spencerkohan asked this question in Q&A
Discussion options

You must be logged in to vote

The idea behind this error is that the WebGL backend requires uniform buffers to be 16-byte aligned. To support WebGL, you'll need to add padding somewhere in the uniform buffer (e.g., probably at the end).

Your vertex buffer layouts should be fine.

A better error message is being worked on in #3099

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@kpreid
Comment options

Answer selected by spencerkohan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants