tgsi: Fix dumping of indirect addressing.

This commit is contained in:
Michal Krol 2008-07-12 17:03:30 +02:00
parent 7279d663e9
commit 9ea485f886

View file

@ -805,10 +805,12 @@ tgsi_dump_instruction(
CHR( '[' );
if (src->SrcRegister.Indirect) {
TXT( "addr" );
if (src->SrcRegister.Index > 0)
CHR( '+' );
SID( src->SrcRegister.Index );
TXT( "ADDR[0]" );
if (src->SrcRegister.Index != 0) {
if (src->SrcRegister.Index > 0)
CHR( '+' );
SID( src->SrcRegister.Index );
}
}
else
SID( src->SrcRegister.Index );