summaryrefslogtreecommitdiffstats
path: root/src/glsl/glcpp
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2014-01-23 23:15:29 +1100
committerTimothy Arceri <[email protected]>2014-01-23 23:15:29 +1100
commit72288e0c7b7ec769da71fbaf124ec4ee8be7577b (patch)
tree89f60b00e76b01de5c0984fe5b42b1a9c6904052 /src/glsl/glcpp
parentbda88f121b36ffb5b8276a3d25791d2c5f9e1fd6 (diff)
mesa: Add ARB_arrays_of_arrays
Signed-off-by: Timothy Arceri <[email protected]> Reviewed-by: Paul Berry <[email protected]>
Diffstat (limited to 'src/glsl/glcpp')
-rw-r--r--src/glsl/glcpp/glcpp-parse.y3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/glsl/glcpp/glcpp-parse.y b/src/glsl/glcpp/glcpp-parse.y
index bbe8a06f0a8..e2415213a81 100644
--- a/src/glsl/glcpp/glcpp-parse.y
+++ b/src/glsl/glcpp/glcpp-parse.y
@@ -1222,6 +1222,9 @@ glcpp_parser_create (const struct gl_extensions *extensions, int api)
add_builtin_define(parser, "GL_EXT_texture_array", 1);
}
+ if (extensions->ARB_arrays_of_arrays)
+ add_builtin_define(parser, "GL_ARB_arrays_of_arrays", 1);
+
if (extensions->ARB_fragment_coord_conventions)
add_builtin_define(parser, "GL_ARB_fragment_coord_conventions",
1);