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 a18575920f5c3b106b82b9e01c85dbb9c579b42a..1ca49b385a7f89b6f73dc6fc07e7128d0e72350b 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 3311688aa6fe985cf3027b6c85b38265ef5616d1..ad29149093ab0a9e7f699c1c94ea7c892b4745e8 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.
     */