mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-16 20:10:23 +01:00
nv50/ir: display OP_BAR 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
537dce06ec
commit
d588e4f192
1 changed files with 9 additions and 0 deletions
|
|
@ -236,6 +236,11 @@ static const char *cctlOpStr[] =
|
|||
"", "", "", "", "", "iv", "ivall"
|
||||
};
|
||||
|
||||
static const char *barOpStr[] =
|
||||
{
|
||||
"sync", "arrive", "red and", "red or", "red popc"
|
||||
};
|
||||
|
||||
static const char *DataTypeStr[] =
|
||||
{
|
||||
"-",
|
||||
|
|
@ -611,6 +616,10 @@ void Instruction::print() const
|
|||
if (subOp < ARRAY_SIZE(cctlOpStr))
|
||||
PRINT("%s ", cctlOpStr[subOp]);
|
||||
break;
|
||||
case OP_BAR:
|
||||
if (subOp < ARRAY_SIZE(barOpStr))
|
||||
PRINT("%s ", barOpStr[subOp]);
|
||||
break;
|
||||
default:
|
||||
if (subOp)
|
||||
PRINT("(SUBOP:%u) ", subOp);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue