glsl: Add built-in constants for ARB_shader_image_load_store.
authorFrancisco Jerez <currojerez@riseup.net>
Wed, 12 Feb 2014 16:15:21 +0000 (17:15 +0100)
committerFrancisco Jerez <currojerez@riseup.net>
Wed, 12 Feb 2014 17:44:05 +0000 (18:44 +0100)
commit87acc7c650e765751eb787db7d23cc242670c68a
tree0ccd1816bcf00d176021e43be133a9044deba451
parent6057300ec68be3cbccdd3e6512aba833c63c2bb8
glsl: Add built-in constants for ARB_shader_image_load_store.

v2: Add them on GLSL version 4.20 too.

Reviewed-by: Paul Berry <stereotype441@gmail.com>
src/glsl/builtin_variables.cpp
src/glsl/glsl_parser_extras.cpp
src/glsl/glsl_parser_extras.h