mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 14:38:06 +02:00
tgsi: Fix dumping of indirect addressing.
This commit is contained in:
parent
7279d663e9
commit
9ea485f886
1 changed files with 6 additions and 4 deletions
|
|
@ -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 );
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue