// Unfortunately, we don't require GL 4.3/ARB_explicit_uniform_location
// which would make this obsolete. One uday Mesa will support it.
// NOTE: We could actually get away with this by only using UBOs, as
// Mesa supports ARB_shading_language_420pack, but that'd be a bit more
// work right with the way some of our uniforms are laid out at the moment.
const GLint GetUniformLocation(const char *uniform_name) const;
// Unfortunately, we don't require GL 4.3/ARB_explicit_uniform_location
// which would make this obsolete. One uday Mesa will support it.
// NOTE: We could actually get away with this by only using UBOs, as
// Mesa supports ARB_shading_language_420pack, but that'd be a bit more
// work right with the way some of our uniforms are laid out at the moment.
const GLint GetUniformLocation(const char *uniform_name) const;