glsl: add basic KHR_blend_equation_advanced infrastructure

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
This commit is contained in:
Ilia Mirkin 2016-04-01 22:17:27 -04:00 committed by Kenneth Graunke
parent 3b0406457a
commit e682f94594
2 changed files with 3 additions and 0 deletions

View 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.
*/

View 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.
*/