mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 19:40:10 +01:00
nv50/ir: print PIXLD 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
c0d92078bb
commit
908ba19554
1 changed files with 9 additions and 0 deletions
|
|
@ -215,6 +215,11 @@ static const char *shflOpStr[] =
|
|||
"idx", "up", "down", "bfly"
|
||||
};
|
||||
|
||||
static const char *pixldOpStr[] =
|
||||
{
|
||||
"count", "covmask", "offset", "cent_offset", "sampleid"
|
||||
};
|
||||
|
||||
static const char *DataTypeStr[] =
|
||||
{
|
||||
"-",
|
||||
|
|
@ -571,6 +576,10 @@ void Instruction::print() const
|
|||
if (subOp < ARRAY_SIZE(shflOpStr))
|
||||
PRINT("%s ", shflOpStr[subOp]);
|
||||
break;
|
||||
case OP_PIXLD:
|
||||
if (subOp < ARRAY_SIZE(pixldOpStr))
|
||||
PRINT("%s ", pixldOpStr[subOp]);
|
||||
break;
|
||||
default:
|
||||
if (subOp)
|
||||
PRINT("(SUBOP:%u) ", subOp);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue