glsl/linker: Don't include interface name for built-in blocks
authorIan Romanick <ian.d.romanick@intel.com>
Tue, 17 May 2016 20:30:46 +0000 (13:30 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Wed, 18 May 2016 17:53:34 +0000 (10:53 -0700)
commit79bbff9defd98167bf14336a44985088e2fd3f37
treee6bbb9d513054ebff6f5c0356dd1c9aa9f7bb573
parent2ef4b5bc932bac100570d377551959c5655e37a3
glsl/linker: Don't include interface name for built-in blocks

Commit 11096ec introduced a regression in some piglit tests (e.g.,
arb_program_interface_query-resource-query).  I did not notice this
regression because other (unrelated) problems caused failed assertions
in those same tests on my system... so they crashed before getting to
the new failure.

v2: Use is_gl_identifier.  Suggested by Tim.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Timothy Arceri <timothy.arceri@collabora.com>
Cc: mesa-stable@lists.freedesktop.org
src/compiler/glsl/linker.cpp