[Mesa-dev] [PATCH 3/9] glsl: add a shader_trinary_minmax predicate

Kenneth Graunke kenneth at whitecape.org
Tue Dec 10 23:37:42 PST 2013


On 12/10/2013 02:43 PM, =?UTF-8?q?Maxence=20Le=20Dor=C3=A9?= <Maxence Le
Doré> wrote:
> ---
>  src/glsl/builtin_functions.cpp | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/src/glsl/builtin_functions.cpp b/src/glsl/builtin_functions.cpp
> index 6af587a..481a456 100644
> --- a/src/glsl/builtin_functions.cpp
> +++ b/src/glsl/builtin_functions.cpp
> @@ -334,6 +334,12 @@ shader_atomic_counters(const _mesa_glsl_parse_state *state)
>     return state->ARB_shader_atomic_counters_enable;
>  }
>  
> +static bool
> +shader_trinary_mimax(const _mesa_glsl_parse_state *state)

Typo here: mimax -> minmax

> +{
> +   return state->AMD_shader_trinary_minmax_enable;
> +}
> +
>  /** @} */
>  
>  /******************************************************************************/
> 


More information about the mesa-dev mailing list