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