mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 19:20:08 +01:00
nv50/ir: print EMIT subops in debug mode
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
This commit is contained in:
parent
a6d3b2e176
commit
fa10d1d674
1 changed files with 9 additions and 0 deletions
|
|
@ -225,6 +225,11 @@ static const char *rcprsqOpStr[] =
|
|||
"", "64h"
|
||||
};
|
||||
|
||||
static const char *emitOpStr[] =
|
||||
{
|
||||
"", "restart"
|
||||
};
|
||||
|
||||
static const char *DataTypeStr[] =
|
||||
{
|
||||
"-",
|
||||
|
|
@ -590,6 +595,10 @@ void Instruction::print() const
|
|||
if (subOp < ARRAY_SIZE(rcprsqOpStr))
|
||||
PRINT("%s ", rcprsqOpStr[subOp]);
|
||||
break;
|
||||
case OP_EMIT:
|
||||
if (subOp < ARRAY_SIZE(emitOpStr))
|
||||
PRINT("%s ", emitOpStr[subOp]);
|
||||
break;
|
||||
default:
|
||||
if (subOp)
|
||||
PRINT("(SUBOP:%u) ", subOp);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue