[Mesa-dev] [PATCH 6/6] i965/disasm: Indentation correction

Toni Lönnberg toni.lonnberg at intel.com
Mon Feb 20 13:27:18 UTC 2017


From: "Lonnberg, Toni" <toni.lonnberg at intel.com>

Corrected the indentation where tabs were being used.
---
 src/mesa/drivers/dri/i965/brw_eu.c | 30 +++++++++++++++---------------
 1 file changed, 15 insertions(+), 15 deletions(-)

diff --git a/src/mesa/drivers/dri/i965/brw_eu.c b/src/mesa/drivers/dri/i965/brw_eu.c
index 5104e55..40829bf 100644
--- a/src/mesa/drivers/dri/i965/brw_eu.c
+++ b/src/mesa/drivers/dri/i965/brw_eu.c
@@ -460,22 +460,22 @@ brw_disassemble(const struct gen_device_info *devinfo,
 
       if (compacted) {
          brw_compact_inst *compacted = (void *)insn;
-	 if (dump_hex) {
-	    fprintf(out, "0x%08x 0x%08x                       ",
-		    ((uint32_t *)insn)[1],
-		    ((uint32_t *)insn)[0]);
-	 }
-
-	 brw_uncompact_instruction(devinfo, &uncompacted, compacted);
-	 insn = &uncompacted;
+         if (dump_hex) {
+            fprintf(out, "0x%08x 0x%08x                       ",
+                    ((uint32_t *)insn)[1],
+                    ((uint32_t *)insn)[0]);
+         }
+
+         brw_uncompact_instruction(devinfo, &uncompacted, compacted);
+         insn = &uncompacted;
       } else {
-	 if (dump_hex) {
-	    fprintf(out, "0x%08x 0x%08x 0x%08x 0x%08x ",
-		    ((uint32_t *)insn)[3],
-		    ((uint32_t *)insn)[2],
-		    ((uint32_t *)insn)[1],
-		    ((uint32_t *)insn)[0]);
-	 }
+         if (dump_hex) {
+            fprintf(out, "0x%08x 0x%08x 0x%08x 0x%08x ",
+                    ((uint32_t *)insn)[3],
+                    ((uint32_t *)insn)[2],
+                    ((uint32_t *)insn)[1],
+                    ((uint32_t *)insn)[0]);
+         }
       }
 
       brw_disassemble_inst(out, devinfo, insn, compacted, offset, root);
-- 
2.7.4



More information about the mesa-dev mailing list