glsl: fix max binding validation for uniform blocks
authorTimothy Arceri <timothy.arceri@collabora.com>
Sun, 22 Nov 2015 23:07:30 +0000 (10:07 +1100)
committerTimothy Arceri <t_arceri@yahoo.com.au>
Mon, 23 Nov 2015 02:47:19 +0000 (13:47 +1100)
commit6463d36394bf95f73cfe3ba6bdf900da431e4e55
tree37b68633910d114c5fd3109e30ce591608e5e255
parentad5f6b03e793b9390e3b9f3eca68bd43f9d809eb
glsl: fix max binding validation for uniform blocks

Regression as of 64710db66461e

We can't use the type returned by get_interface_type() as
the interface type has arrays removed.

Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
src/glsl/ast_to_hir.cpp