[Mesa-dev] [PATCH 04/16] glsl: add basic KHR_blend_equation_advanced infrastructure

Francisco Jerez currojerez at riseup.net
Tue Aug 16 21:44:56 UTC 2016


Kenneth Graunke <kenneth at whitecape.org> writes:

> From: Ilia Mirkin <imirkin at alum.mit.edu>
>
> Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
> Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

Reviewed-by: Francisco Jerez <currojerez at riseup.net>

> ---
>  src/compiler/glsl/glsl_parser_extras.cpp | 1 +
>  src/compiler/glsl/glsl_parser_extras.h   | 2 ++
>  2 files changed, 3 insertions(+)
>
> diff --git a/src/compiler/glsl/glsl_parser_extras.cpp b/src/compiler/glsl/glsl_parser_extras.cpp
> index a185759..1ca49b3 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 3311688..ad29149 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.
>      */
> -- 
> 2.9.0
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 212 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20160816/10fd752e/attachment.sig>


More information about the mesa-dev mailing list