diff options
Diffstat (limited to 'src/compiler/glsl/glcpp/glcpp-parse.y')
-rw-r--r-- | src/compiler/glsl/glcpp/glcpp-parse.y | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/compiler/glsl/glcpp/glcpp-parse.y b/src/compiler/glsl/glcpp/glcpp-parse.y index ee0d8f1942f..402272796d0 100644 --- a/src/compiler/glsl/glcpp/glcpp-parse.y +++ b/src/compiler/glsl/glcpp/glcpp-parse.y @@ -2329,6 +2329,11 @@ _glcpp_parser_handle_version_declaration(glcpp_parser_t *parser, intmax_t versio add_builtin_define(parser, "GL_EXT_texture_buffer", 1); add_builtin_define(parser, "GL_OES_texture_buffer", 1); } + + if (extensions->OES_shader_io_blocks) { + add_builtin_define(parser, "GL_EXT_shader_io_blocks", 1); + add_builtin_define(parser, "GL_OES_shader_io_blocks", 1); + } } } } else { |