From: Marek Olšák Date: Mon, 6 Aug 2018 05:25:51 +0000 (-0400) Subject: mesa: expose ARB_post_depth_coverage in the Compatibility profile X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1cf3631b9c73a9cbb36eb544bc36329c27400aeb;p=mesa.git mesa: expose ARB_post_depth_coverage in the Compatibility profile It only contains GLSL changes. v2: allow the layout qualifier on GLSL <= 1.30 --- diff --git a/src/compiler/glsl/glsl_lexer.ll b/src/compiler/glsl/glsl_lexer.ll index 87b64e09c16..1cd11d5c7c7 100644 --- a/src/compiler/glsl/glsl_lexer.ll +++ b/src/compiler/glsl/glsl_lexer.ll @@ -497,6 +497,7 @@ layout { || yyextra->ARB_conservative_depth_enable || yyextra->ARB_explicit_attrib_location_enable || yyextra->ARB_explicit_uniform_location_enable + || yyextra->ARB_post_depth_coverage_enable || yyextra->has_separate_shader_objects() || yyextra->ARB_uniform_buffer_object_enable || yyextra->ARB_fragment_coord_conventions_enable diff --git a/src/mesa/main/extensions_table.h b/src/mesa/main/extensions_table.h index 135030d6a3c..19a421fc952 100644 --- a/src/mesa/main/extensions_table.h +++ b/src/mesa/main/extensions_table.h @@ -99,7 +99,7 @@ EXT(ARB_pixel_buffer_object , EXT_pixel_buffer_object EXT(ARB_point_parameters , EXT_point_parameters , GLL, x , x , x , 1997) EXT(ARB_point_sprite , ARB_point_sprite , GLL, GLC, x , x , 2003) EXT(ARB_polygon_offset_clamp , ARB_polygon_offset_clamp , GLL, GLC, x , x , 2017) -EXT(ARB_post_depth_coverage , ARB_post_depth_coverage , x , GLC, x , x, 2015) +EXT(ARB_post_depth_coverage , ARB_post_depth_coverage , GLL, GLC, x , x, 2015) EXT(ARB_program_interface_query , dummy_true , GLL, GLC, x , x , 2012) EXT(ARB_provoking_vertex , EXT_provoking_vertex , GLL, GLC, x , x , 2009) EXT(ARB_query_buffer_object , ARB_query_buffer_object , GLL, GLC, x , x , 2013)