From: Paulo Zanoni Date: Mon, 18 Mar 2019 23:37:17 +0000 (-0700) Subject: mesa: extension boilerplate for EXT_texture_shadow_lod X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d80a74fb99cc16fb09a28ffba73cd88b260e011b;p=mesa.git mesa: extension boilerplate for EXT_texture_shadow_lod With the help of Sagar, Ian and Ivan. Signed-off-by: Paulo Zanoni Reviewed-by: Marek Olšák Reviewed-by: Kenneth Graunke --- 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; diff --git a/src/mesa/main/extensions_table.h b/src/mesa/main/extensions_table.h index b3d2d072a23..af321131654 100644 --- a/src/mesa/main/extensions_table.h +++ b/src/mesa/main/extensions_table.h @@ -315,6 +315,7 @@ EXT(EXT_texture_rg , ARB_texture_rg EXT(EXT_texture_sRGB , EXT_texture_sRGB , GLL, GLC, x , x , 2004) EXT(EXT_texture_sRGB_R8 , EXT_texture_sRGB_R8 , GLL ,GLC, x , 30, 2018) EXT(EXT_texture_sRGB_decode , EXT_texture_sRGB_decode , GLL, GLC, x , 30, 2006) +EXT(EXT_texture_shadow_lod , EXT_texture_shadow_lod , GLL, GLC, x , 30, 2018) EXT(EXT_texture_shared_exponent , EXT_texture_shared_exponent , GLL, GLC, x , x , 2004) EXT(EXT_texture_snorm , EXT_texture_snorm , GLL, GLC, x , x , 2009) EXT(EXT_texture_swizzle , EXT_texture_swizzle , GLL, GLC, x , x , 2008) diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h index 16a720febe1..56a63589182 100644 --- a/src/mesa/main/mtypes.h +++ b/src/mesa/main/mtypes.h @@ -4302,6 +4302,7 @@ struct gl_extensions GLboolean EXT_texture_filter_anisotropic; GLboolean EXT_texture_integer; GLboolean EXT_texture_mirror_clamp; + GLboolean EXT_texture_shadow_lod; GLboolean EXT_texture_shared_exponent; GLboolean EXT_texture_snorm; GLboolean EXT_texture_sRGB;