glsl: Refuse to parse uniform block declarations when UBOs aren't available.
authorEric Anholt <eric@anholt.net>
Thu, 26 Jul 2012 20:11:05 +0000 (13:11 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 7 Aug 2012 20:54:51 +0000 (13:54 -0700)
commit803262a5f55ca5b94a09dfe8f35e64a579778209
tree0c8e026277f0505d2313f4c5c1aedd468a486908
parente45f1b11c081a7b965bf58539d2dbcc231d543f4
glsl: Refuse to parse uniform block declarations when UBOs aren't available.

Fixes piglit
GL_ARB_uniform_buffer_object/compiler/extension-disabled-block.frag

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/glsl/glsl_parser.yy