projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6df215d
)
aubinator: fix if indentation and add brackets to multiline body
author
Timothy Arceri
<timothy.arceri@collabora.com>
Mon, 29 Aug 2016 23:53:35 +0000
(09:53 +1000)
committer
Timothy Arceri
<timothy.arceri@collabora.com>
Wed, 31 Aug 2016 00:19:45 +0000
(10:19 +1000)
Fixes misleading indentation warning in gcc.
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/intel/tools/disasm.c
patch
|
blob
|
history
diff --git
a/src/intel/tools/disasm.c
b/src/intel/tools/disasm.c
index a1cb19197cf53fc03a3dfcca5ebfbb42e5278117..fcb61c44acb794c3e4af9578a57fd990658a2abf 100644
(file)
--- 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;
}
}