You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Buffers will most likely be initialized once and then bound to shaders many times, so there is little performance impact for doing these checks. Writes should only be checked to ensure they don't exceed the length of the variable in the uniform blocks. Writing a byte[3] to a float should still be valid, for example.
check if write would exceed the buffer's storage
check if write would exceed the size of the uniform variable
check writes for arrays
The text was updated successfully, but these errors were encountered:
Buffers will most likely be initialized once and then bound to shaders many times, so there is little performance impact for doing these checks. Writes should only be checked to ensure they don't exceed the length of the variable in the uniform blocks. Writing a byte[3] to a float should still be valid, for example.
The text was updated successfully, but these errors were encountered: