From f99f78e49a10b92e236ee0909eb806d353e1f2e6 Mon Sep 17 00:00:00 2001 From: Matt Turner <mattst88@gmail.com> Date: Tue, 9 Apr 2013 16:01:38 -0700 Subject: mesa: Add infrastructure for ARB_gpu_shader5. Reviewed-by: Chris Forbes <chrisf@ijw.co.nz> --- src/glsl/glcpp/glcpp-parse.y | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/glsl/glcpp/glcpp-parse.y') 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); } } -- cgit v1.2.3