summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2018-08-06 01:25:51 -0400
committerMarek Olšák <[email protected]>2018-08-24 00:36:18 -0400
commit1cf3631b9c73a9cbb36eb544bc36329c27400aeb (patch)
tree7ad609aa5d461bc4c74fe92075e789fdd9934889 /src
parent8d8222461f9d7f497d657c2c0eff70820986429b (diff)
mesa: expose ARB_post_depth_coverage in the Compatibility profile
It only contains GLSL changes. v2: allow the layout qualifier on GLSL <= 1.30
Diffstat (limited to 'src')
-rw-r--r--src/compiler/glsl/glsl_lexer.ll1
-rw-r--r--src/mesa/main/extensions_table.h2
2 files changed, 2 insertions, 1 deletions
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)