tgsi: Insert newlines after the statements, instead of before.

Prevents shader dumps from getting concatenated with the next debug message.
This commit is contained in:
José Fonseca 2008-07-30 00:44:56 +09:00
parent 28454a512a
commit 76164bf7a2

View file

@ -332,7 +332,7 @@ void
tgsi_dump_declaration(
const struct tgsi_full_declaration *decl )
{
TXT( "\nDCL " );
TXT( "DCL " );
_dump_register(
decl->Declaration.File,
@ -354,6 +354,8 @@ tgsi_dump_declaration(
TXT( ", " );
ENM( decl->Declaration.Interpolate, interpolate_names );
EOL();
}
static boolean
@ -407,7 +409,6 @@ tgsi_dump_instruction(
uint i;
boolean first_reg = TRUE;
EOL();
UID( instno );
CHR( ':' );
ENM( inst->Instruction.Opcode, opcode_names );
@ -534,6 +535,8 @@ tgsi_dump_instruction(
UID( inst->InstructionExtLabel.Label );
break;
}
EOL();
}
static boolean
@ -551,11 +554,11 @@ static boolean
prolog(
struct tgsi_iterate_context *ctx )
{
EOL();
ENM( ctx->processor.Processor, processor_type_names );
UID( ctx->version.MajorVersion );
CHR( '.' );
UID( ctx->version.MinorVersion );
EOL();
return TRUE;
}