mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-30 20:50:09 +01:00
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:
parent
4b9b7e4dd3
commit
ddedfcdf21
3 changed files with 5 additions and 0 deletions
|
|
@ -168,6 +168,7 @@ enum operation
|
|||
OP_SHFL, // warp shuffle
|
||||
OP_VOTE,
|
||||
OP_BUFQ, // buffer query
|
||||
OP_WARPSYNC,
|
||||
OP_LAST
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -194,6 +194,7 @@ const char *operationStr[OP_LAST + 1] =
|
|||
"shfl",
|
||||
"vote",
|
||||
"bufq",
|
||||
"warpsync",
|
||||
"(invalid)"
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue