KhronosGroup / OpenGL-API

OpenGL and OpenGL ES API Issue Tracker
34 stars 5 forks source link

SHADER_STORAGE_BUFFER_OFFSET_ALIGNMENT has a min value of 256 #22

Closed zeux closed 6 years ago

zeux commented 6 years ago

SHADER_STORAGE_BUFFER_OFFSET_ALIGNMENT declares a min. value of 256 in the spec (GL 4.4 p 589. table 23.64)

This seems like a bug to me:

It seems like either the spec should have a min. value of 1, or change the limit type to be max. value (and keep 256 to match Vulkan).

nhaehnle commented 6 years ago

This has been fixed in the GL 4.6 spec. There, table 23.64 has a footnote (dagger) on the 256 which clarifies that it's the maximum, not the minimum.