From 13ffd46a0fbedf37ebd4625bd3c9055e79516480 Mon Sep 17 00:00:00 2001 From: Qiang Yu Date: Wed, 5 Jan 2022 17:55:07 +0800 Subject: [PATCH] glsl: add ARB_sparse_texture_clamp extension MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Reviewed-by: Marek Olšák Signed-off-by: Qiang Yu Part-of: --- src/compiler/glsl/glsl_parser_extras.cpp | 1 + src/compiler/glsl/glsl_parser_extras.h | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/compiler/glsl/glsl_parser_extras.cpp b/src/compiler/glsl/glsl_parser_extras.cpp index 956909b..3a4a046 100644 --- a/src/compiler/glsl/glsl_parser_extras.cpp +++ b/src/compiler/glsl/glsl_parser_extras.cpp @@ -698,6 +698,7 @@ static const _mesa_glsl_extension _mesa_glsl_supported_extensions[] = { EXT(ARB_shading_language_include), EXT(ARB_shading_language_packing), EXT(ARB_sparse_texture2), + EXT(ARB_sparse_texture_clamp), EXT(ARB_tessellation_shader), EXT(ARB_texture_cube_map_array), EXT(ARB_texture_gather), diff --git a/src/compiler/glsl/glsl_parser_extras.h b/src/compiler/glsl/glsl_parser_extras.h index d654741..e35ab69 100644 --- a/src/compiler/glsl/glsl_parser_extras.h +++ b/src/compiler/glsl/glsl_parser_extras.h @@ -742,6 +742,8 @@ struct _mesa_glsl_parse_state { bool ARB_shading_language_packing_warn; bool ARB_sparse_texture2_enable; bool ARB_sparse_texture2_warn; + bool ARB_sparse_texture_clamp_enable; + bool ARB_sparse_texture_clamp_warn; bool ARB_tessellation_shader_enable; bool ARB_tessellation_shader_warn; bool ARB_texture_cube_map_array_enable; -- 2.7.4