mesa: Add {Num}UniformBlocks and {Num}ShaderStorageBlocks to gl_shader{_program}
authorIago Toral Quiroga <itoral@igalia.com>
Thu, 1 Oct 2015 08:17:30 +0000 (10:17 +0200)
committerIago Toral Quiroga <itoral@igalia.com>
Wed, 14 Oct 2015 06:11:13 +0000 (08:11 +0200)
commitd31f98a272e429d5782192919b7628494ad1adf3
tree59f1de3735e5ce2050a93ac6227447a09a3d88fb
parent27dccf097d053b085c498a7bcab47197a5e83525
mesa: Add {Num}UniformBlocks and {Num}ShaderStorageBlocks to gl_shader{_program}

These arrays provide backends with separate index spaces for UBOS and SSBOs.

Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
src/glsl/linker.cpp
src/glsl/standalone_scaffolding.cpp
src/mesa/main/mtypes.h