[Mesa-dev] [PATCH 4/4] tgsi: minor whitespace fixes in tgsi_scan.c

Marek Olšák maraeo at gmail.com
Sun Feb 7 13:45:26 UTC 2016


For the series:
Reviewed-by: Marek Olšák <marek.olsak at amd.com>

Marek

On Sat, Feb 6, 2016 at 1:56 AM, Brian Paul <brianp at vmware.com> wrote:
> ---
>  src/gallium/auxiliary/tgsi/tgsi_scan.c | 6 ++----
>  1 file changed, 2 insertions(+), 4 deletions(-)
>
> diff --git a/src/gallium/auxiliary/tgsi/tgsi_scan.c b/src/gallium/auxiliary/tgsi/tgsi_scan.c
> index 42b62aa..489423d 100644
> --- a/src/gallium/auxiliary/tgsi/tgsi_scan.c
> +++ b/src/gallium/auxiliary/tgsi/tgsi_scan.c
> @@ -462,12 +462,10 @@ tgsi_scan_shader(const struct tgsi_token *tokens,
>            procType == TGSI_PROCESSOR_COMPUTE);
>     info->processor = procType;
>
> -
>     /**
>      ** Loop over incoming program tokens/instructions
>      */
> -   while( !tgsi_parse_end_of_tokens( &parse ) ) {
> -
> +   while (!tgsi_parse_end_of_tokens(&parse)) {
>        info->num_tokens++;
>
>        tgsi_parse_token( &parse );
> @@ -510,7 +508,7 @@ tgsi_scan_shader(const struct tgsi_token *tokens,
>        }
>     }
>
> -   tgsi_parse_free (&parse);
> +   tgsi_parse_free(&parse);
>  }
>
>
> --
> 1.9.1
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list