Browse Source

add TODO about sorting uniform buffers

main
cinnaboot 5 years ago
parent
commit
6ca1e919f8
  1. 2
      src/shader.cpp

2
src/shader.cpp

@ -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;
}

Loading…
Cancel
Save