glsl: add ARB_texture_cube_map_array support (v2)
This adds all the new builtins + the new sampler types, and hooks them up if the extension is supported. v2: fix missing signatures for grad/lod fix missing textureSize clarifications fix compare vs starts with usage Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
@@ -1187,6 +1187,9 @@ glcpp_parser_create (const struct gl_extensions *extensions, int api)
|
||||
|
||||
if (extensions->ARB_uniform_buffer_object)
|
||||
add_builtin_define(parser, "GL_ARB_uniform_buffer_object", 1);
|
||||
|
||||
if (extensions->ARB_texture_cube_map_array)
|
||||
add_builtin_define(parser, "GL_ARB_texture_cube_map_array", 1);
|
||||
}
|
||||
|
||||
language_version = 110;
|
||||
|
Reference in New Issue
Block a user