| 573 | } |
| 574 | |
| 575 | ShaderCompilerImpl() |
| 576 | { |
| 577 | if (compilerInstances == 0) |
| 578 | { |
| 579 | BasicExpressionType::Init(); |
| 580 | } |
| 581 | compilerInstances++; |
| 582 | backends.Add("glsl", CreateGLSLCodeGen()); |
| 583 | backends.Add("hlsl", CreateHLSLCodeGen()); |
| 584 | backends.Add("spirv", CreateSpirVCodeGen()); |
| 585 | backends.Add("glsl_vk", CreateGLSL_VulkanCodeGen()); |
| 586 | backends.Add("glsl_vk_onedesc", CreateGLSL_VulkanOneDescCodeGen()); |
| 587 | } |
| 588 | |
| 589 | ~ShaderCompilerImpl() |
| 590 | { |
nothing calls this directly
no test coverage detected