mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 02:58:05 +02:00
tgsi: include more of the register info in debug dumps
This commit is contained in:
parent
e922adbe1d
commit
7f342a20d2
1 changed files with 10 additions and 0 deletions
|
|
@ -44,6 +44,9 @@ static void
|
|||
_print_reg(
|
||||
struct x86_reg reg )
|
||||
{
|
||||
if (reg.mod != mod_REG)
|
||||
debug_printf( "[" );
|
||||
|
||||
switch( reg.file ) {
|
||||
case file_REG32:
|
||||
switch( reg.idx ) {
|
||||
|
|
@ -83,6 +86,13 @@ _print_reg(
|
|||
assert( 0 );
|
||||
break;
|
||||
}
|
||||
|
||||
if (reg.mod == mod_DISP8 ||
|
||||
reg.mod == mod_DISP32)
|
||||
debug_printf("+%d", reg.disp);
|
||||
|
||||
if (reg.mod != mod_REG)
|
||||
debug_printf( "]" );
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue