MCPcopy Create free account
hub / github.com/KhronosGroup/SPIRV-Tools / TEST_F

Function TEST_F

test/opt/graphics_robust_access_test.cpp:32–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30// Test incompatible module, determined at module-level.
31
32TEST_F(GraphicsRobustAccessTest, FailNotShader) {
33 const std::string text = R"(
34; CHECK: Can only process Shader modules
35OpCapability Kernel
36)";
37
38 SinglePassRunAndFail<GraphicsRobustAccessPass>(text);
39}
40
41TEST_F(GraphicsRobustAccessTest, FailCantProcessVariablePointers) {
42 const std::string text = R"(

Callers

nothing calls this directly

Calls 13

AccessChainsFunction · 0.85
ShaderPreambleACFunction · 0.85
TypesVoidFunction · 0.85
TypesIntFunction · 0.85
MainPrefixFunction · 0.85
ACCheckFunction · 0.85
MainSuffixFunction · 0.85
TypesShortFunction · 0.85
TypesLongFunction · 0.85
TypesFloatFunction · 0.85
ACCheckFailFunction · 0.85
DecoSSBOFunction · 0.85

Tested by

no test coverage detected