mesa: Add GL and GLSL plumbing for ARB_post_depth_coverage for i965 (gen9+).

This extension allows the fragment shader to control whether values in
gl_SampleMaskIn[] reflect the coverage after application of the early
depth and stencil tests.

Signed-off-by: Plamena Manolova <plamena.manolova@intel.com>
Reviewed-by: Chris Forbes <chrisforbes@google.com>
This commit is contained in:
Plamena Manolova
2016-12-06 21:32:36 +02:00
committed by Lionel Landwerlin
parent d3931a355f
commit 8481386892
11 changed files with 53 additions and 1 deletions

View File

@@ -610,6 +610,8 @@ struct _mesa_glsl_parse_state {
bool ARB_gpu_shader5_warn;
bool ARB_gpu_shader_fp64_enable;
bool ARB_gpu_shader_fp64_warn;
bool ARB_post_depth_coverage_enable;
bool ARB_post_depth_coverage_warn;
bool ARB_sample_shading_enable;
bool ARB_sample_shading_warn;
bool ARB_separate_shader_objects_enable;
@@ -786,6 +788,8 @@ struct _mesa_glsl_parse_state {
bool fs_early_fragment_tests;
bool fs_post_depth_coverage;
unsigned fs_blend_support;
/**