The program resource API seems to be incomplete. I see that get_shader_storage_block_index calls glGetProgramResourceIndex with SHADER_STORAGE_BLOCK. But there is no analogue to get_active_uniform_block_parameter_i32 with UNIFORM_BLOCK_BINDING for storage blocks.
I think glow should just expose get_program_resource_i32 or similar in a generic way. It's a part of GL ES 3.1.
The program resource API seems to be incomplete. I see that
get_shader_storage_block_index
callsglGetProgramResourceIndex
withSHADER_STORAGE_BLOCK
. But there is no analogue toget_active_uniform_block_parameter_i32
withUNIFORM_BLOCK_BINDING
for storage blocks. I think glow should just exposeget_program_resource_i32
or similar in a generic way. It's a part of GL ES 3.1.