summaryrefslogtreecommitdiffstats
path: root/src/compiler
diff options
context:
space:
mode:
authorIlia Mirkin <[email protected]>2016-04-01 22:17:27 -0400
committerKenneth Graunke <[email protected]>2016-08-25 19:22:09 -0700
commite682f945944d7411a87acb4361b11d3ff09aac9f (patch)
treeaf2c1e1c0022d2e162dbede436845dc39696c2da /src/compiler
parent3b0406457a2de2d412fef2ff5cfa121f521cdf29 (diff)
glsl: add basic KHR_blend_equation_advanced infrastructure
Signed-off-by: Ilia Mirkin <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]> Reviewed-by: Francisco Jerez <[email protected]>
Diffstat (limited to 'src/compiler')
-rw-r--r--src/compiler/glsl/glsl_parser_extras.cpp1
-rw-r--r--src/compiler/glsl/glsl_parser_extras.h2
2 files changed, 3 insertions, 0 deletions
diff --git a/src/compiler/glsl/glsl_parser_extras.cpp b/src/compiler/glsl/glsl_parser_extras.cpp
index a18575920f5..1ca49b385a7 100644
--- a/src/compiler/glsl/glsl_parser_extras.cpp
+++ b/src/compiler/glsl/glsl_parser_extras.cpp
@@ -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.
*/
diff --git a/src/compiler/glsl/glsl_parser_extras.h b/src/compiler/glsl/glsl_parser_extras.h
index 3311688aa6f..ad29149093a 100644
--- a/src/compiler/glsl/glsl_parser_extras.h
+++ b/src/compiler/glsl/glsl_parser_extras.h
@@ -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.
*/