Return a string that contains the minimum instructions needed to form a valid module. Other instructions can be appended to this string.
| 30 | // Return a string that contains the minimum instructions needed to form |
| 31 | // a valid module. Other instructions can be appended to this string. |
| 32 | std::string Header() { |
| 33 | return R"(OpCapability Shader |
| 34 | OpCapability Linkage |
| 35 | OpMemoryModel Logical GLSL450 |
| 36 | )"; |
| 37 | } |
| 38 | |
| 39 | // When we assemble with a target environment of SPIR-V 1.1, we expect |
| 40 | // the following in the module header version word. |
no outgoing calls
no test coverage detected