Mesa (main): glsl: add ARB_sparse_texture_clamp extension
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Tue Feb 1 10:57:36 UTC 2022
Module: Mesa
Branch: main
Commit: 13ffd46a0fbedf37ebd4625bd3c9055e79516480
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=13ffd46a0fbedf37ebd4625bd3c9055e79516480
Author: Qiang Yu <yuq825 at gmail.com>
Date: Wed Jan 5 17:55:07 2022 +0800
glsl: add ARB_sparse_texture_clamp extension
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
Signed-off-by: Qiang Yu <yuq825 at gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14488>
---
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 956909b0ff1..3a4a046dced 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 d65474171e2..e35ab6948d7 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;
More information about the mesa-commit
mailing list