summaryrefslogtreecommitdiffstats
path: root/src/glsl/glcpp
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2013-04-09 16:01:38 -0700
committerMatt Turner <[email protected]>2013-05-06 10:17:12 -0700
commitf99f78e49a10b92e236ee0909eb806d353e1f2e6 (patch)
treec39a6e7e662d48d3ebea0c52020c52ef1fb8d429 /src/glsl/glcpp
parent914d797797b5b835eeaffb56f04a2ca3f2e120b6 (diff)
mesa: Add infrastructure for ARB_gpu_shader5.
Reviewed-by: Chris Forbes <[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 00edbbfbde2..f0d2ab00799 100644
--- a/src/glsl/glcpp/glcpp-parse.y
+++ b/src/glsl/glcpp/glcpp-parse.y
@@ -1236,6 +1236,9 @@ glcpp_parser_create (const struct gl_extensions *extensions, int api)
if (extensions->ARB_texture_query_lod)
add_builtin_define(parser, "GL_ARB_texture_query_lod", 1);
+
+ if (extensions->ARB_gpu_shader5)
+ add_builtin_define(parser, "GL_ARB_gpu_shader5", 1);
}
}