mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-03 20:48:08 +02:00
i965/fs: Add dump_instruction() support for ARF destinations.
CMP instructions use BRW_ARF_NULL as a destination. Prior to this patch, dump_instruction() decoded the destination as "???". Now it decodes BRW_ARF_NULL as "(null)" and other ARFs numerically. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Matt Turner <mattst88@gmail.com>
This commit is contained in:
parent
ee7bfab068
commit
4d95efd146
1 changed files with 6 additions and 0 deletions
|
|
@ -2725,6 +2725,12 @@ fs_visitor::dump_instruction(backend_instruction *be_inst)
|
|||
case UNIFORM:
|
||||
printf("***u%d***", inst->dst.reg);
|
||||
break;
|
||||
case ARF:
|
||||
if (inst->dst.reg == BRW_ARF_NULL)
|
||||
printf("(null)");
|
||||
else
|
||||
printf("arf%d", inst->dst.reg);
|
||||
break;
|
||||
default:
|
||||
printf("???");
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue