glsl: add OES_texture_buffer and EXT_texture_buffer support
Expose the samplerBuffer/imageBuffer types, and allow the various functions to operate on them. Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
This commit is contained in:
@@ -2390,6 +2390,10 @@ _glcpp_parser_handle_version_declaration(glcpp_parser_t *parser, intmax_t versio
|
||||
add_builtin_define(parser, "GL_EXT_gpu_shader5", 1);
|
||||
add_builtin_define(parser, "GL_OES_gpu_shader5", 1);
|
||||
}
|
||||
if (extensions->OES_texture_buffer) {
|
||||
add_builtin_define(parser, "GL_EXT_texture_buffer", 1);
|
||||
add_builtin_define(parser, "GL_OES_texture_buffer", 1);
|
||||
}
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user