nvir: introduce OP_WARPSYNC

Will be required to support SM70.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Reviewed-by: Karol Herbst <kherbst@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5377>
This commit is contained in:
Ben Skeggs 2020-06-07 09:51:49 +10:00 committed by Marge Bot
parent 4b9b7e4dd3
commit ddedfcdf21
3 changed files with 5 additions and 0 deletions

View file

@ -168,6 +168,7 @@ enum operation
OP_SHFL, // warp shuffle
OP_VOTE,
OP_BUFQ, // buffer query
OP_WARPSYNC,
OP_LAST
};

View file

@ -194,6 +194,7 @@ const char *operationStr[OP_LAST + 1] =
"shfl",
"vote",
"bufq",
"warpsync",
"(invalid)"
};

View file

@ -58,6 +58,7 @@ const uint8_t Target::operationSrcNr[] =
3, // SHFL
1, // VOTE
1, // BUFQ
1, // WARPSYNC
0
};
@ -136,6 +137,8 @@ const OpClass Target::operationClass[] =
OPCLASS_OTHER,
// BUFQ
OPCLASS_OTHER,
// WARPSYNC
OPCLASS_OTHER,
OPCLASS_PSEUDO // LAST
};