mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-28 06:00:10 +01:00
aubinator: fix if indentation and add brackets to multiline body
Fixes misleading indentation warning in gcc. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
parent
6df215d97e
commit
64a48efb9e
1 changed files with 4 additions and 3 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue