diff options
author | Plamena Manolova <[email protected]> | 2016-12-06 21:32:36 +0200 |
---|---|---|
committer | Lionel Landwerlin <[email protected]> | 2016-12-07 11:01:50 +0000 |
commit | 848138689298c11e7825029484cbaa825cd36b36 (patch) | |
tree | d9b0dceea1225203c985e33d7a68c4d5cf7e366e /src/mesa/main/shaderapi.c | |
parent | d3931a355fd5d309d5bcfe2655249f029e84d355 (diff) |
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 <[email protected]>
Reviewed-by: Chris Forbes <[email protected]>
Diffstat (limited to 'src/mesa/main/shaderapi.c')
-rw-r--r-- | src/mesa/main/shaderapi.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/main/shaderapi.c b/src/mesa/main/shaderapi.c index 92bbc743051..064ec4e1ccb 100644 --- a/src/mesa/main/shaderapi.c +++ b/src/mesa/main/shaderapi.c @@ -2194,6 +2194,7 @@ _mesa_copy_linked_program_data(const struct gl_shader_program *src, case MESA_SHADER_FRAGMENT: { dst->info.fs.depth_layout = src->FragDepthLayout; dst->info.fs.early_fragment_tests = dst_sh->info.EarlyFragmentTests; + dst->info.fs.post_depth_coverage = dst_sh->info.PostDepthCoverage; break; } case MESA_SHADER_COMPUTE: { |