glsl/standalone: set MaxUniformBufferBindings
authorAlejandro Piñeiro <apinheiro@igalia.com>
Thu, 4 Jan 2018 15:51:19 +0000 (16:51 +0100)
committerAlejandro Piñeiro <apinheiro@igalia.com>
Fri, 5 Jan 2018 07:52:22 +0000 (08:52 +0100)
commit8dcf131f04cf0fd540de127481985010ae61a4ea
treea8fd5fb5c797d27267447b005638265de12ef6a6
parent937b210551ef7c243976f0c0240395827a72ef8b
glsl/standalone: set MaxUniformBufferBindings

Used to handle how many ubo you can define on the context. Minimimum
defined as 36 on ARB_uniform_buffer_object spec, up to 84 on OpenGL
4.6 (12 per stage at each moment).

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/compiler/glsl/standalone.cpp