glsl: Don't allow invalid identifiers as struct names.
authorPaul Berry <stereotype441@gmail.com>
Sat, 28 Sep 2013 00:47:02 +0000 (17:47 -0700)
committerPaul Berry <stereotype441@gmail.com>
Thu, 10 Oct 2013 21:27:17 +0000 (14:27 -0700)
commit78b072b2bcbd9e730b7a6e09d85c85b44bdd64da
treea7b3e98db2dc799677e6018a0c1a325400c25b79
parent9fb6f5955276154f04320d096b679b2ae8f61da5
glsl: Don't allow invalid identifiers as struct names.

Fixes piglit test
spec/glsl-1.10/compiler/struct/struct-name-uses-gl-prefix.vert.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/glsl/ast_to_hir.cpp