summaryrefslogtreecommitdiffstats
path: root/src/intel/tools
diff options
context:
space:
mode:
authorTimothy Arceri <timothy.arceri@collabora.com>2016-08-30 09:53:35 +1000
committerTimothy Arceri <timothy.arceri@collabora.com>2016-08-31 10:19:45 +1000
commit64a48efb9e81c43741f8f8a49bbc546322010b2d (patch)
treeb936e52a7c18d1092c7eb0f847d3d52955935d79 /src/intel/tools
parent6df215d97eab6e18a8c70c9966014f6ab2bbc20a (diff)
downloadexternal_mesa3d-64a48efb9e81c43741f8f8a49bbc546322010b2d.zip
external_mesa3d-64a48efb9e81c43741f8f8a49bbc546322010b2d.tar.gz
external_mesa3d-64a48efb9e81c43741f8f8a49bbc546322010b2d.tar.bz2
aubinator: fix if indentation and add brackets to multiline body
Fixes misleading indentation warning in gcc. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Diffstat (limited to 'src/intel/tools')
-rw-r--r--src/intel/tools/disasm.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/intel/tools/disasm.c b/src/intel/tools/disasm.c
index a1cb191..fcb61c4 100644
--- a/src/intel/tools/disasm.c
+++ b/src/intel/tools/disasm.c
@@ -75,12 +75,13 @@ gen_disasm_disassemble(struct gen_disasm *disasm, void *assembly, int start,
/* Simplistic, but efficient way to terminate disasm */
if (brw_inst_opcode(devinfo, insn) == BRW_OPCODE_SEND ||
- brw_inst_opcode(devinfo, insn) == BRW_OPCODE_SENDC)
+ brw_inst_opcode(devinfo, insn) == BRW_OPCODE_SENDC) {
if (brw_inst_eot(devinfo, insn))
break;
- if (brw_inst_opcode(devinfo, insn) == 0)
- break;
+ }
+ if (brw_inst_opcode(devinfo, insn) == 0)
+ break;
}
}