mirror of
https://github.com/KhronosGroup/SPIRV-Tools
synced 2024-11-23 12:10:06 +00:00
Negative test for GroupOperation.
This commit is contained in:
parent
9d0c813547
commit
c002213d95
@ -62,6 +62,11 @@ INSTANTIATE_TEST_CASE_P(TextToBinaryGroupOperation, GroupOperationTest,
|
||||
#undef CASE
|
||||
// clang-format on
|
||||
|
||||
TEST_F(GroupOperationTest, WrongGroupOperation) {
|
||||
EXPECT_THAT(CompileFailure("%r = OpGroupUMin %t %e xxyyzz %x"),
|
||||
Eq("Invalid group operation 'xxyyzz'."));
|
||||
}
|
||||
|
||||
// TODO(dneto): OpAsyncGroupCopy
|
||||
// TODO(dneto): OpWaitGroupEvents
|
||||
// TODO(dneto): OpGroupAll
|
||||
|
Loading…
Reference in New Issue
Block a user