glsl/ast: Don't perform GS input array checks on non-inputs.
authorPaul Berry <stereotype441@gmail.com>
Mon, 12 Aug 2013 13:39:23 +0000 (06:39 -0700)
committerPaul Berry <stereotype441@gmail.com>
Wed, 14 Aug 2013 03:02:55 +0000 (20:02 -0700)
commit825f9ff5d3a0c4d6da20e14c34e3220be624ef8e
tree81cc09ec6a4296dd3066f9cf537a3be90e68c3e9
parent91c8fea924c05801a1e05edcee00e53ea73e48b8
glsl/ast: Don't perform GS input array checks on non-inputs.

Previously, we were accidentally calling
handle_geometry_shader_input_decl() on non-input interface block
declarations, resulting in bogus error checking.

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