glsl: Add built-in functions and constants required for ARB_shader_atomic_counters.
authorFrancisco Jerez <currojerez@riseup.net>
Sun, 20 Oct 2013 19:39:16 +0000 (12:39 -0700)
committerFrancisco Jerez <currojerez@riseup.net>
Tue, 29 Oct 2013 19:40:55 +0000 (12:40 -0700)
commitbbded5b5feb40ee69717dc113fb4be1dc4807227
tree71cd80b64c4ce653db02e9af1e203c91fc722f23
parent95629223761e076323faab93f72c955e61a38a75
glsl: Add built-in functions and constants required for ARB_shader_atomic_counters.

v2: Represent atomics as GLSL intrinsics.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/glsl/builtin_functions.cpp
src/glsl/builtin_variables.cpp
src/glsl/glcpp/glcpp-parse.y
src/glsl/glsl_parser_extras.cpp
src/glsl/glsl_parser_extras.h