#include <spirv_compiler.h>
Public Member Functions | |
SPIRVCompiler (const SourceOptions &options, std::shared_ptr< const fml::Mapping > sources) | |
~SPIRVCompiler () | |
std::shared_ptr< fml::Mapping > | CompileToSPV (std::stringstream &error_stream, const shaderc::CompileOptions &spirv_options) const |
Definition at line 57 of file spirv_compiler.h.
impeller::compiler::SPIRVCompiler::SPIRVCompiler | ( | const SourceOptions & | options, |
std::shared_ptr< const fml::Mapping > | sources | ||
) |
Definition at line 15 of file spirv_compiler.cc.
|
default |
std::shared_ptr< fml::Mapping > impeller::compiler::SPIRVCompiler::CompileToSPV | ( | std::stringstream & | error_stream, |
const shaderc::CompileOptions & | spirv_options | ||
) | const |
Definition at line 21 of file spirv_compiler.cc.
References COMPILER_ERROR, COMPILER_ERROR_NO_PREFIX, impeller::compiler::SourceOptions::entry_point_name, impeller::compiler::SourceOptions::file_name, impeller::compiler::ShaderCErrorToString(), impeller::compiler::SourceOptions::source_language, impeller::compiler::SourceLanguageToString(), impeller::compiler::ToShaderCShaderKind(), and impeller::compiler::SourceOptions::type.
Referenced by impeller::compiler::Compiler::Compiler().