projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
42246ab
)
tgsi: minor whitespace fixes in tgsi_scan.c
author
Brian Paul
<brianp@vmware.com>
Mon, 8 Feb 2016 16:29:38 +0000
(09:29 -0700)
committer
Brian Paul
<brianp@vmware.com>
Mon, 8 Feb 2016 16:29:38 +0000
(09:29 -0700)
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
src/gallium/auxiliary/tgsi/tgsi_scan.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/tgsi/tgsi_scan.c
b/src/gallium/auxiliary/tgsi/tgsi_scan.c
index 42b62aa172c27fe1dd3b16e7eb4d29fd023f3612..489423d7f12b584d972eec75a74839938ce9a0fa 100644
(file)
--- 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);
}