Am Di., 4. Sep. 2018 um 11:09 Uhr schrieb Erik Faye-Lund
<erik.faye-l...@collabora.com>:
>
> We're doing full c99 now, so there's no point in using the old boolean
> type.
>
> Signed-off-by: Erik Faye-Lund <erik.faye-l...@collabora.com>
> Reviewed-by: Marek Olšák <marek.ol...@amd.com>

Reviewed-by: Christian Gmeiner <christian.gmei...@gmail.com>

> ---
>  src/mesa/state_tracker/st_extensions.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/src/mesa/state_tracker/st_extensions.c 
> b/src/mesa/state_tracker/st_extensions.c
> index 29a3251308..8cb80f9932 100644
> --- a/src/mesa/state_tracker/st_extensions.c
> +++ b/src/mesa/state_tracker/st_extensions.c
> @@ -81,7 +81,7 @@ void st_init_limits(struct pipe_screen *screen,
>  {
>     int supported_irs;
>     unsigned sh;
> -   boolean can_ubo = TRUE;
> +   bool can_ubo = true;
>     int temp;
>     bool ssbo_atomic = true;
>
> @@ -160,7 +160,7 @@ void st_init_limits(struct pipe_screen *screen,
>     c->MaxUniformBlockSize = MIN2(c->MaxUniformBlockSize, INT_MAX - 127);
>
>     if (c->MaxUniformBlockSize < 16384) {
> -      can_ubo = FALSE;
> +      can_ubo = false;
>     }
>
>     for (sh = 0; sh < PIPE_SHADER_TYPES; ++sh) {
> @@ -301,7 +301,7 @@ void st_init_limits(struct pipe_screen *screen,
>
>        if (pc->MaxNativeInstructions &&
>            (options->EmitNoIndirectUniform || pc->MaxUniformBlocks < 12)) {
> -         can_ubo = FALSE;
> +         can_ubo = false;
>        }
>
>        if (options->EmitNoLoops)
> --
> 2.17.1
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev



-- 
greets
--
Christian Gmeiner, MSc

https://christian-gmeiner.info
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to