From 20d34c4ebf07c98a40ea43b0cccc95537c176fa9 Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Mon, 10 Sep 2018 17:54:56 -0700 Subject: [PATCH] mesa: Extension boilerplate for INTEL_shader_integer_functions2 Reviewed-by: Caio Marcelo de Oliveira Filho Part-of: --- src/compiler/glsl/glsl_parser_extras.cpp | 1 + src/compiler/glsl/glsl_parser_extras.h | 2 ++ src/mesa/main/extensions_table.h | 1 + src/mesa/main/mtypes.h | 1 + 4 files changed, 5 insertions(+) diff --git a/src/compiler/glsl/glsl_parser_extras.cpp b/src/compiler/glsl/glsl_parser_extras.cpp index e9ef5b56d8b..293437acfcd 100644 --- a/src/compiler/glsl/glsl_parser_extras.cpp +++ b/src/compiler/glsl/glsl_parser_extras.cpp @@ -745,6 +745,7 @@ static const _mesa_glsl_extension _mesa_glsl_supported_extensions[] = { EXT(EXT_texture_shadow_lod), EXT(INTEL_conservative_rasterization), EXT(INTEL_shader_atomic_float_minmax), + EXT(INTEL_shader_integer_functions2), EXT(MESA_shader_integer_functions), EXT(NV_compute_shader_derivatives), EXT(NV_fragment_shader_interlock), diff --git a/src/compiler/glsl/glsl_parser_extras.h b/src/compiler/glsl/glsl_parser_extras.h index c9d579ccb85..dc94a5b94c1 100644 --- a/src/compiler/glsl/glsl_parser_extras.h +++ b/src/compiler/glsl/glsl_parser_extras.h @@ -872,6 +872,8 @@ struct _mesa_glsl_parse_state { bool INTEL_conservative_rasterization_warn; bool INTEL_shader_atomic_float_minmax_enable; bool INTEL_shader_atomic_float_minmax_warn; + bool INTEL_shader_integer_functions2_enable; + bool INTEL_shader_integer_functions2_warn; bool MESA_shader_integer_functions_enable; bool MESA_shader_integer_functions_warn; bool NV_compute_shader_derivatives_enable; diff --git a/src/mesa/main/extensions_table.h b/src/mesa/main/extensions_table.h index 7905232b429..1831da3f77a 100644 --- a/src/mesa/main/extensions_table.h +++ b/src/mesa/main/extensions_table.h @@ -346,6 +346,7 @@ EXT(INGR_blend_func_separate , EXT_blend_func_separate EXT(INTEL_conservative_rasterization , INTEL_conservative_rasterization , x , GLC, x , 31, 2013) EXT(INTEL_performance_query , INTEL_performance_query , GLL, GLC, x , ES2, 2013) EXT(INTEL_shader_atomic_float_minmax , INTEL_shader_atomic_float_minmax , GLL, GLC, x , x , 2018) +EXT(INTEL_shader_integer_functions2 , INTEL_shader_integer_functions2 , GLL, GLC, x , x , 2018) EXT(KHR_blend_equation_advanced , KHR_blend_equation_advanced , GLL, GLC, x , ES2, 2014) EXT(KHR_blend_equation_advanced_coherent , KHR_blend_equation_advanced_coherent , GLL, GLC, x , ES2, 2014) diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h index c3cee09549f..afe35615789 100644 --- a/src/mesa/main/mtypes.h +++ b/src/mesa/main/mtypes.h @@ -4367,6 +4367,7 @@ struct gl_extensions GLboolean INTEL_conservative_rasterization; GLboolean INTEL_performance_query; GLboolean INTEL_shader_atomic_float_minmax; + GLboolean INTEL_shader_integer_functions2; GLboolean KHR_blend_equation_advanced; GLboolean KHR_blend_equation_advanced_coherent; GLboolean KHR_robustness; -- 2.30.2