|
|
|
|
@ -644,6 +644,8 @@ parseUniformBlocks(MemoryArena* arena, ShaderProgram* s, GLContext* gl_ctx)
|
|
|
|
|
glUniformBlockBinding(s->prog_id, i, ub.binding_idx); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// TODO: would be helpful for debugging if we sort the uniforms in a block
|
|
|
|
|
// by their uniform_offset instead of their idx
|
|
|
|
|
|
|
|
|
|
return true; |
|
|
|
|
} |
|
|
|
|
|