glsl: rename _restrict to restrict_flag
authorBrian Paul <brianp@vmware.com>
Wed, 12 Feb 2014 20:22:27 +0000 (13:22 -0700)
committerBrian Paul <brianp@vmware.com>
Wed, 12 Feb 2014 20:37:09 +0000 (13:37 -0700)
commit248606a5f065b88ee6328c233e54f163088de5d5
tree8272721b2b5492ebae58aff2b7f6423db26b8462
parentfd0620ff6c2c629e4888f4c98cfd6655adbfb69e
glsl: rename _restrict to restrict_flag

To fix MSVC compile breakage.  Evidently, _restrict is an MSVC keyword,
though the docs only mention __restrict (with two underscores).

Note: we may want to also rename _volatile to volatile_flag to be
consistent.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=74900
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/glsl/ast.h
src/glsl/ast_function.cpp
src/glsl/ast_to_hir.cpp
src/glsl/builtin_functions.cpp
src/glsl/glsl_parser.yy
src/glsl/ir.cpp
src/glsl/ir.h