mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-20 12:38:22 +02:00
nv50/ir: print SHFL 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
85ea8deb26
commit
c0d92078bb
1 changed files with 9 additions and 0 deletions
|
|
@ -210,6 +210,11 @@ static const char *subfmOpStr[] =
|
|||
"", "3d"
|
||||
};
|
||||
|
||||
static const char *shflOpStr[] =
|
||||
{
|
||||
"idx", "up", "down", "bfly"
|
||||
};
|
||||
|
||||
static const char *DataTypeStr[] =
|
||||
{
|
||||
"-",
|
||||
|
|
@ -562,6 +567,10 @@ void Instruction::print() const
|
|||
if (subOp < ARRAY_SIZE(subfmOpStr))
|
||||
PRINT("%s ", subfmOpStr[subOp]);
|
||||
break;
|
||||
case OP_SHFL:
|
||||
if (subOp < ARRAY_SIZE(shflOpStr))
|
||||
PRINT("%s ", shflOpStr[subOp]);
|
||||
break;
|
||||
default:
|
||||
if (subOp)
|
||||
PRINT("(SUBOP:%u) ", subOp);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue