tgsi: Put a newline after IMM.
authorMichal Krol <michal@tungstengraphics.com>
Mon, 4 Aug 2008 10:18:09 +0000 (12:18 +0200)
committerMichal Krol <michal@tungstengraphics.com>
Mon, 4 Aug 2008 10:18:09 +0000 (12:18 +0200)
src/gallium/auxiliary/tgsi/tgsi_dump.c

index 290d78bb14be989a34ae050835b9a2d2744809c3..0eedb1c91e30088ed5aafcaff9080d820c4cd21c 100644 (file)
@@ -264,16 +264,6 @@ static const char *modulate_names[TGSI_MODULATE_COUNT] =
    "_D8"
 };
 
-static void
-_dump_register_prefix(
-   uint file,
-   uint first,
-   uint last )
-{
-   
-   
-}
-
 static void
 _dump_register(
    uint file,
@@ -354,7 +344,7 @@ tgsi_dump_declaration(
 
    TXT( ", " );
    ENM( decl->Declaration.Interpolate, interpolate_names );
-   
+
    EOL();
 }
 
@@ -373,7 +363,7 @@ tgsi_dump_immediate(
 {
    uint i;
 
-   TXT( "\nIMM " );
+   TXT( "IMM " );
    ENM( imm->Immediate.DataType, immediate_type_names );
 
    TXT( " { " );
@@ -390,6 +380,8 @@ tgsi_dump_immediate(
          TXT( ", " );
    }
    TXT( " }" );
+
+   EOL();
 }
 
 static boolean
@@ -535,7 +527,7 @@ tgsi_dump_instruction(
       UID( inst->InstructionExtLabel.Label );
       break;
    }
-   
+
    EOL();
 }