diff options
author | Samuel Iglesias Gonsalvez <siglesias@igalia.com> | 2015-03-17 12:17:27 +0100 |
---|---|---|
committer | Samuel Iglesias Gonsalvez <siglesias@igalia.com> | 2015-07-14 07:04:03 +0200 |
commit | 3095ee9b8bd4154cc63b6332c21b16954555e241 (patch) | |
tree | aafb45eae05c8017eba107348fa234ffe376e8cb /src/glsl/glcpp | |
parent | 75df8f00192415eb4ad378708ff3745390931b4e (diff) | |
download | external_mesa3d-3095ee9b8bd4154cc63b6332c21b16954555e241.zip external_mesa3d-3095ee9b8bd4154cc63b6332c21b16954555e241.tar.gz external_mesa3d-3095ee9b8bd4154cc63b6332c21b16954555e241.tar.bz2 |
mesa: define ARB_shader_storage_buffer_object extension
Signed-off-by: Samuel Iglesias Gonsalvez <siglesias@igalia.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Diffstat (limited to 'src/glsl/glcpp')
-rw-r--r-- | src/glsl/glcpp/glcpp-parse.y | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/glsl/glcpp/glcpp-parse.y b/src/glsl/glcpp/glcpp-parse.y index a11b6b2..ed1bffb 100644 --- a/src/glsl/glcpp/glcpp-parse.y +++ b/src/glsl/glcpp/glcpp-parse.y @@ -2483,6 +2483,9 @@ _glcpp_parser_handle_version_declaration(glcpp_parser_t *parser, intmax_t versio if (extensions->ARB_shader_precision) add_builtin_define(parser, "GL_ARB_shader_precision", 1); + + if (extensions->ARB_shader_storage_buffer_object) + add_builtin_define(parser, "GL_ARB_shader_storage_buffer_object", 1); } } |