summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorIlia Mirkin <[email protected]>2016-04-01 22:51:39 -0400
committerKenneth Graunke <[email protected]>2016-08-25 19:22:09 -0700
commit4b6819b407220f5d7d97a40ed9474d7673448370 (patch)
treec538c2b84f567ad4ec1f6393d1f588d910266d05 /src/mesa
parente682f945944d7411a87acb4361b11d3ff09aac9f (diff)
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 <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]> Reviewed-by: Francisco Jerez <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/main/mtypes.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
index ec608e2ba60..3d9e26032d9 100644
--- a/src/mesa/main/mtypes.h
+++ b/src/mesa/main/mtypes.h
@@ -2319,6 +2319,11 @@ struct gl_shader_info
bool EarlyFragmentTests;
/**
+ * A bitmask of gl_advanced_blend_mode values
+ */
+ GLbitfield BlendSupport;
+
+ /**
* Compute shader state from ARB_compute_shader layout qualifiers.
*/
struct {