glsl: add basic KHR_blend_equation_advanced infrastructure
authorIlia Mirkin <imirkin@alum.mit.edu>
Sat, 2 Apr 2016 02:17:27 +0000 (22:17 -0400)
committerKenneth Graunke <kenneth@whitecape.org>
Fri, 26 Aug 2016 02:22:09 +0000 (19:22 -0700)
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
src/compiler/glsl/glsl_parser_extras.cpp
src/compiler/glsl/glsl_parser_extras.h

index a185759..1ca49b3 100644 (file)
@@ -622,6 +622,7 @@ static const _mesa_glsl_extension _mesa_glsl_supported_extensions[] = {
 
    /* KHR extensions go here, sorted alphabetically.
     */
+   EXT(KHR_blend_equation_advanced),
 
    /* OES extensions go here, sorted alphabetically.
     */
index 3311688..ad29149 100644 (file)
@@ -649,6 +649,8 @@ struct _mesa_glsl_parse_state {
 
    /* KHR extensions go here, sorted alphabetically.
     */
+   bool KHR_blend_equation_advanced_enable;
+   bool KHR_blend_equation_advanced_warn;
 
    /* OES extensions go here, sorted alphabetically.
     */