summaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl/ast.h
diff options
context:
space:
mode:
authorIlia Mirkin <imirkin@alum.mit.edu>2016-04-01 22:51:39 -0400
committerKenneth Graunke <kenneth@whitecape.org>2016-08-25 19:22:09 -0700
commit4b6819b407220f5d7d97a40ed9474d7673448370 (patch)
treec538c2b84f567ad4ec1f6393d1f588d910266d05 /src/compiler/glsl/ast.h
parente682f945944d7411a87acb4361b11d3ff09aac9f (diff)
downloadexternal_mesa3d-4b6819b407220f5d7d97a40ed9474d7673448370.zip
external_mesa3d-4b6819b407220f5d7d97a40ed9474d7673448370.tar.gz
external_mesa3d-4b6819b407220f5d7d97a40ed9474d7673448370.tar.bz2
glsl: process blend_support_* qualifiers
v2 (Ken): Add a BLEND_NONE enum value (no qualifiers in use). v3 (Ken): Rename gl_blend_support_qualifier to gl_advanced_blend_mode. v4 (Ken): Mark map[] as static const (Ilia). Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Francisco Jerez <currojerez@riseup.net>
Diffstat (limited to 'src/compiler/glsl/ast.h')
-rw-r--r--src/compiler/glsl/ast.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/compiler/glsl/ast.h b/src/compiler/glsl/ast.h
index 75018a0..4c648d0 100644
--- a/src/compiler/glsl/ast.h
+++ b/src/compiler/glsl/ast.h
@@ -596,6 +596,11 @@ struct ast_type_qualifier {
unsigned subroutine:1; /**< Is this marked 'subroutine' */
unsigned subroutine_def:1; /**< Is this marked 'subroutine' with a list of types */
/** \} */
+
+ /** \name Qualifiers for GL_KHR_blend_equation_advanced */
+ /** \{ */
+ unsigned blend_support:1; /**< Are there any blend_support_ qualifiers */
+ /** \} */
}
/** \brief Set of flags, accessed by name. */
q;