summaryrefslogtreecommitdiffstats
path: root/doxygen/swrast.doxy
diff options
context:
space:
mode:
authorPaul Berry <[email protected]>2013-09-27 17:18:14 -0700
committerPaul Berry <[email protected]>2013-10-10 14:27:05 -0700
commit1838df97a28cf859f20d6535c00509574b200152 (patch)
treedc21b66d4b87af03d91f6840caab3774ab0b1dce /doxygen/swrast.doxy
parent6a157f2e3345faf23041eaefb47183a6debacb6b (diff)
glsl: Refactor code to check that identifier names are valid.
GLSL reserves identifiers beginning with "gl_" or containing "__", but we haven't been consistent about enforcing this rule. This patch makes a new function to check whether identifier names are valid. In the process it closes a loophole where we would previously allow function argument names to contain "__". v2: Rename check_valid_identifier() -> validate_identifier(). Add curly braces in validate_identifier(). Reviewed-by: Kenneth Graunke <[email protected]> Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'doxygen/swrast.doxy')
0 files changed, 0 insertions, 0 deletions