| 1380 | } |
| 1381 | |
| 1382 | std::string GpuShaderText::castToBool(const std::string& v) const |
| 1383 | { |
| 1384 | if (m_lang == GPU_LANGUAGE_GLSL_VK_4_6) |
| 1385 | { |
| 1386 | return "bool(" + v + ")"; |
| 1387 | } |
| 1388 | return v; |
| 1389 | } |
| 1390 | |
| 1391 | |
| 1392 | std::string BuildResourceName(GpuShaderCreatorRcPtr & shaderCreator, const std::string & prefix, |
no outgoing calls
no test coverage detected