mirror of
https://github.com/KhronosGroup/SPIRV-Tools
synced 2024-12-26 17:51:02 +00:00
Negative test for ImageOperands.
This commit is contained in:
parent
2fd3792c3a
commit
63af6fd409
@ -107,6 +107,11 @@ INSTANTIATE_TEST_CASE_P(
|
||||
5, 6, 7, 8, 9, 10, 11, 12}}}));
|
||||
#undef MASK
|
||||
|
||||
TEST_F(ImageOperandsTest, WrongOperand) {
|
||||
EXPECT_THAT(CompileFailure("%r = OpImageFetch %t %i %c xxyyzz"),
|
||||
Eq("Invalid image operand 'xxyyzz'."));
|
||||
}
|
||||
|
||||
// TODO(dneto): OpSampledImage
|
||||
// TODO(dneto): OpImageSampleImplicitLod
|
||||
// TODO(dneto): OpImageSampleExplicitLod
|
||||
|
Loading…
Reference in New Issue
Block a user