src/programs.js
function createUniformBlockInfo(gl, programInfo, blockName) {
  return createUniformBlockInfoFromProgram(gl, programInfo.program, programInfo.uniformBlockSpec, blockName);
}
function createUniformBlockInfo(gl, programInfo, blockName) {
  return createUniformBlockInfoFromProgram(gl, programInfo.program, programInfo.uniformBlockSpec, blockName);
}
function createUniformBlockInfo ( gl , programInfo , blockName ) { return createUniformBlockInfoFromProgram ( gl , programInfo . program , programInfo . uniformBlockSpec , blockName ) ; }
Creates a `UniformBlockInfo` for the specified block

Note: **If the blockName matches no existing blocks a warning is printed to the console and a dummy
`UniformBlockInfo` is returned**. This is because when debugging GLSL
it is common to comment out large portions of a shader or for example set
the final output to a constant. When that happens blocks get optimized out.
If this function did not create dummy blocks your code would crash when debugging.

@param {WebGL2RenderingContext} gl A WebGL2RenderingContext
@param {module:twgl.ProgramInfo} programInfo a `ProgramInfo`
as returned from {@link module:twgl.createProgramInfo}
@param {string} blockName The name of the block.
@return {module:twgl.UniformBlockInfo} The created UniformBlockInfo
@memberOf module:twgl/programs
Creates a UniformBlockInfo for the specified block