Bladeren bron

i965: Restyle brw_disasm.c.

brw_disasm.c basically wasn't following the Mesa coding style at all.
It used 4-space indent instead of 3-space, didn't cuddle braces, didn't
put function return types on a separate line, put extra spaces in
function calls (between the name and parenthesis), and a number of other
things.

This made it fairly obnoxious to work on, since my editor is configured
to follow Mesa style in the Mesa source repository.  Fixing it to follow
a consistent style now should save time dealing with it later.

These modifications were originally generated by:
$ indent -br -i3 -npcs -ce -cs -l80 --no-tabs
with some manual changes afterwards to fit our style better.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
tags/10.3-branchpoint
Kenneth Graunke 11 jaren geleden
bovenliggende
commit
5f106b03a9
1 gewijzigde bestanden met toevoegingen van 1231 en 1234 verwijderingen
  1. 1231
    1234
      src/mesa/drivers/dri/i965/brw_disasm.c

+ 1231
- 1234
src/mesa/drivers/dri/i965/brw_disasm.c
Diff onderdrukt omdat het te groot bestand
Bestand weergeven


Laden…
Annuleren
Opslaan