Mesa (master): mesa: expose ARB_post_depth_coverage in the Compatibility profile

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri Aug 24 04:38:04 UTC 2018


Module: Mesa
Branch: master
Commit: 1cf3631b9c73a9cbb36eb544bc36329c27400aeb
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1cf3631b9c73a9cbb36eb544bc36329c27400aeb

Author: Marek Olšák <marek.olsak at amd.com>
Date:   Mon Aug  6 01:25:51 2018 -0400

mesa: expose ARB_post_depth_coverage in the Compatibility profile

It only contains GLSL changes.

v2: allow the layout qualifier on GLSL <= 1.30

---

 src/compiler/glsl/glsl_lexer.ll  | 1 +
 src/mesa/main/extensions_table.h | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/compiler/glsl/glsl_lexer.ll b/src/compiler/glsl/glsl_lexer.ll
index 87b64e09c1..1cd11d5c7c 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 135030d6a3..19a421fc95 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)




More information about the mesa-commit mailing list