ShaderModuleManager()
    {
      m_usedSetupIF = &m_defaultSetupIF;
      m_supportsExtendedInclude = true;
#if USESHADERC
      m_shadercCompiler = shaderc_compiler_initialize();
      m_shadercOptions = shaderc_compile_options_initialize();
#endif
    }
示例#2
0
 Compiler() : compiler_(shaderc_compiler_initialize()) {}