Reading from `out` function argument in GLSL
In GLSL, is it legal for a function to read from an out
argument, after it has already written to it?
Are binding indices shared between shaders?
With glBindBufferBase
and glUniformBlockBinding
you can connect uniforms and buffers to supply the data to a shader.