[Mesa-dev] [PATCH 1/4] aubinator: Fix indentation.
Kenneth Graunke
kenneth at whitecape.org
Thu Mar 16 03:01:58 UTC 2017
Three space, not four.
---
src/intel/tools/aubinator.c | 13 ++++++-------
1 file changed, 6 insertions(+), 7 deletions(-)
diff --git a/src/intel/tools/aubinator.c b/src/intel/tools/aubinator.c
index e2bec8f9494..139637cfefa 100644
--- a/src/intel/tools/aubinator.c
+++ b/src/intel/tools/aubinator.c
@@ -798,18 +798,17 @@ parse_commands(struct gen_spec *spec, uint32_t *cmds, int size, int engine)
idx = 0;
print_dword_val(&iter, offset, &dword_num);
if (dword_num > 0)
- token = print_iterator_values(&iter, &idx);
+ token = print_iterator_values(&iter, &idx);
if (token != NULL) {
- printf("0x%08"PRIx64": 0x%08x : Dword %d\n",
- offset + 4 * idx, p[idx], idx);
- handle_struct_decode(spec,token, &p[idx]);
- token = NULL;
+ printf("0x%08"PRIx64": 0x%08x : Dword %d\n",
+ offset + 4 * idx, p[idx], idx);
+ handle_struct_decode(spec,token, &p[idx]);
+ token = NULL;
}
}
for (i = 0; i < ARRAY_LENGTH(custom_handlers); i++) {
- if (gen_group_get_opcode(inst) ==
- custom_handlers[i].opcode)
+ if (gen_group_get_opcode(inst) == custom_handlers[i].opcode)
custom_handlers[i].handle(spec, p);
}
}
--
2.12.0
More information about the mesa-dev
mailing list