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

Function ShaderPreamble

test/opt/graphics_robust_access_test.cpp:108–115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

106}
107
108std::string ShaderPreamble() {
109 return R"(
110 OpCapability Shader
111 OpMemoryModel Logical Simple
112 OpEntryPoint GLCompute %main "main"
113 OpExecutionMode %main LocalSize 16 1 1
114)";
115}
116
117std::string ShaderPreamble(const std::vector<std::string>& names) {
118 std::ostringstream os;

Callers 1

ShaderPreambleACFunction · 0.85

Calls 1

strMethod · 0.45

Tested by

no test coverage detected