summaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl
diff options
context:
space:
mode:
authorPaulo Zanoni <[email protected]>2019-03-18 16:37:17 -0700
committerSagar Ghuge <[email protected]>2019-07-30 10:42:20 -0700
commitd80a74fb99cc16fb09a28ffba73cd88b260e011b (patch)
treec25cce387457b6289ceb38d20661c568fe9db851 /src/compiler/glsl
parentdee1e18fe4ff7e10d6404d4924dfce7733aae46a (diff)
mesa: extension boilerplate for EXT_texture_shadow_lod
With the help of Sagar, Ian and Ivan. Signed-off-by: Paulo Zanoni <[email protected]> Reviewed-by: Marek Olšák <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/compiler/glsl')
-rw-r--r--src/compiler/glsl/glsl_parser_extras.cpp1
-rw-r--r--src/compiler/glsl/glsl_parser_extras.h2
2 files changed, 3 insertions, 0 deletions
diff --git a/src/compiler/glsl/glsl_parser_extras.cpp b/src/compiler/glsl/glsl_parser_extras.cpp
index a2127f49936..c6068ac9327 100644
--- a/src/compiler/glsl/glsl_parser_extras.cpp
+++ b/src/compiler/glsl/glsl_parser_extras.cpp
@@ -735,6 +735,7 @@ static const _mesa_glsl_extension _mesa_glsl_supported_extensions[] = {
EXT_AEP(EXT_texture_buffer),
EXT_AEP(EXT_texture_cube_map_array),
EXT(EXT_texture_query_lod),
+ EXT(EXT_texture_shadow_lod),
EXT(INTEL_conservative_rasterization),
EXT(INTEL_shader_atomic_float_minmax),
EXT(MESA_shader_integer_functions),
diff --git a/src/compiler/glsl/glsl_parser_extras.h b/src/compiler/glsl/glsl_parser_extras.h
index b82b35da5af..c132556c276 100644
--- a/src/compiler/glsl/glsl_parser_extras.h
+++ b/src/compiler/glsl/glsl_parser_extras.h
@@ -856,6 +856,8 @@ struct _mesa_glsl_parse_state {
bool EXT_texture_cube_map_array_warn;
bool EXT_texture_query_lod_enable;
bool EXT_texture_query_lod_warn;
+ bool EXT_texture_shadow_lod_enable;
+ bool EXT_texture_shadow_lod_warn;
bool INTEL_conservative_rasterization_enable;
bool INTEL_conservative_rasterization_warn;
bool INTEL_shader_atomic_float_minmax_enable;