diff options
author | Brian Paul <brianp@vmware.com> | 2016-02-08 09:29:38 -0700 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2016-02-08 09:29:38 -0700 |
commit | 59251610ed3a0239ec9b400e97e9b5598fe80f70 (patch) | |
tree | ba556a27527fe360fbdd9cf93ae21637fc02ec79 /src/gallium | |
parent | 42246ab1f5f985aba97d3d7ebc178b02ec6c316e (diff) |
tgsi: minor whitespace fixes in tgsi_scan.c
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/auxiliary/tgsi/tgsi_scan.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_scan.c b/src/gallium/auxiliary/tgsi/tgsi_scan.c index 42b62aa172c..489423d7f12 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); } |