summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/mtypes.h
diff options
context:
space:
mode:
authorKenneth Graunke <kenneth@whitecape.org>2016-06-29 21:53:06 -0700
committerKenneth Graunke <kenneth@whitecape.org>2016-08-25 19:22:10 -0700
commit1bf9b2a6008552f5fdb8908c24c446fd7261efdd (patch)
tree42a1df93a23368b5b33c4a8b8251c689e5493ce9 /src/mesa/main/mtypes.h
parentc2b10cabed6468b998a9c4d0ada7953d93311029 (diff)
downloadexternal_mesa3d-1bf9b2a6008552f5fdb8908c24c446fd7261efdd.zip
external_mesa3d-1bf9b2a6008552f5fdb8908c24c446fd7261efdd.tar.gz
external_mesa3d-1bf9b2a6008552f5fdb8908c24c446fd7261efdd.tar.bz2
mesa: Implement GL_KHR_blend_equation_advanced_coherent.
This adds the extension enable (so drivers can advertise it) and the extra boolean state flag, GL_BLEND_ADVANCED_COHERENT_KHR, which can be set to request coherent blending. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Francisco Jerez <currojerez@riseup.net>
Diffstat (limited to 'src/mesa/main/mtypes.h')
-rw-r--r--src/mesa/main/mtypes.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
index 3e12555..7637160 100644
--- a/src/mesa/main/mtypes.h
+++ b/src/mesa/main/mtypes.h
@@ -461,6 +461,9 @@ struct gl_colorbuffer_attrib
* requires all draw buffers to match, so we only need a single value.
*/
enum gl_advanced_blend_mode _AdvancedBlendMode;
+
+ /** Coherency requested via glEnable(GL_BLEND_ADVANCED_COHERENT_KHR)? */
+ bool BlendCoherent;
/*@}*/
/**
@@ -3957,6 +3960,7 @@ struct gl_extensions
GLboolean GREMEDY_string_marker;
GLboolean INTEL_performance_query;
GLboolean KHR_blend_equation_advanced;
+ GLboolean KHR_blend_equation_advanced_coherent;
GLboolean KHR_robustness;
GLboolean KHR_texture_compression_astc_hdr;
GLboolean KHR_texture_compression_astc_ldr;