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

Function Header

test/opt/optimizer_test.cpp:33–38  ·  view source on GitHub ↗

Return a string that contains the minimum instructions needed to form a valid module. Other instructions can be appended to this string.

Source from the content-addressed store, hash-verified

31// Return a string that contains the minimum instructions needed to form
32// a valid module. Other instructions can be appended to this string.
33std::string Header() {
34 return R"(OpCapability Shader
35OpCapability Linkage
36OpMemoryModel Logical GLSL450
37)";
38}
39
40TEST(Optimizer, CanRunNullPassWithDistinctInputOutputVectors) {
41 SpirvTools tools(SPV_ENV_UNIVERSAL_1_0);

Callers 2

fold_test.cppFile · 0.70
TESTFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected