glsl: Check that integer vertex outputs are qualified with flat
authorChad Versace <chad.versace@intel.com>
Thu, 16 Dec 2010 19:06:19 +0000 (11:06 -0800)
committerChad Versace <chad.versace@intel.com>
Tue, 4 Jan 2011 18:49:10 +0000 (10:49 -0800)
commit68d06b1454aea30c492c7318ab4e8514df8f38fd
treef6d83321a9bd08583d3f477dab89c781d8d96d3f
parentb84e3f570f4b5aba1dd96760e090ae976d0e1cba
glsl: Check that integer vertex outputs are qualified with flat

Perform this check in ast_declarator_list::hir().

From section 4.3.6 of the GLSL 1.30 spec:
   "If a vertex output is a signed or unsigned integer or integer
   vector, then it must be qualified with the interpolation
   qualifier
   flat."
src/glsl/ast_to_hir.cpp