glsl: replace strncmp("gl_") calls with new is_gl_identifier() helper
authorBrian Paul <brianp@vmware.com>
Fri, 23 May 2014 20:57:49 +0000 (14:57 -0600)
committerBrian Paul <brianp@vmware.com>
Wed, 28 May 2014 21:06:07 +0000 (15:06 -0600)
commita7aca3919ba29ccdac01136fa9ba79f571bc797d
treeb928201cc61db62c36225acf129df4bed3754415
parentf9cecca7a6e3d9ff231075381b88d179e153a5a4
glsl: replace strncmp("gl_") calls with new is_gl_identifier() helper

Makes things a little easier to read.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/glsl/ast_to_hir.cpp
src/glsl/ir.h
src/glsl/ir_print_visitor.cpp
src/glsl/link_uniforms.cpp
src/glsl/link_varyings.cpp