summaryrefslogtreecommitdiffstats
path: root/src/glsl/glcpp/glcpp-parse.y
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2015-10-05 00:01:45 +1100
committerTimothy Arceri <[email protected]>2015-11-12 10:18:08 +1100
commit82e4f22d1ec65269328bbd472261d6a8e0689558 (patch)
tree2e76b4686cbdd60b4d5e5c30334f850e31e67c7e /src/glsl/glcpp/glcpp-parse.y
parentdf8af7d75155845d12d5a14a3a5ca644f07cb3b1 (diff)
mesa: add ARB_enhanced_layouts
Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/glsl/glcpp/glcpp-parse.y')
-rw-r--r--src/glsl/glcpp/glcpp-parse.y1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glsl/glcpp/glcpp-parse.y b/src/glsl/glcpp/glcpp-parse.y
index 4acccf74065..6aa7abec00e 100644
--- a/src/glsl/glcpp/glcpp-parse.y
+++ b/src/glsl/glcpp/glcpp-parse.y
@@ -2387,6 +2387,7 @@ _glcpp_parser_handle_version_declaration(glcpp_parser_t *parser, intmax_t versio
}
} else {
add_builtin_define(parser, "GL_ARB_draw_buffers", 1);
+ add_builtin_define(parser, "GL_ARB_enhanced_layouts", 1);
add_builtin_define(parser, "GL_ARB_separate_shader_objects", 1);
add_builtin_define(parser, "GL_ARB_texture_rectangle", 1);
add_builtin_define(parser, "GL_AMD_shader_trinary_minmax", 1);