# OpenGL Uniform Block Index and Binding
## Synopsis
glslc requires explicit binding on uniform block. The method `glGetUniformBlockIndex` returns `GL_INVALID_INDEX` on uniform block in SPIR-V.
The index can be associated with a binding manually using `glUniformBlockBinding`.
Most methods accepts both index and binding, such as `glGetActiveUniformBlockiv` and `glBindBufferBase`.