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/compiler/glsl/ast.h | |
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/compiler/glsl/ast.h')
-rw-r--r-- | src/compiler/glsl/ast.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/compiler/glsl/ast.h b/src/compiler/glsl/ast.h index afe91ea6d32..df3a744de9c 100644 --- a/src/compiler/glsl/ast.h +++ b/src/compiler/glsl/ast.h @@ -605,6 +605,11 @@ struct ast_type_qualifier { /** \{ */ unsigned blend_support:1; /**< Are there any blend_support_ qualifiers */ /** \} */ + + /** + * Flag set if GL_ARB_post_depth_coverage layout qualifier is used. + */ + unsigned post_depth_coverage:1; } /** \brief Set of flags, accessed by name. */ q; |