 |
Flutter Impeller
|
|
Go to the documentation of this file.
11 #include "flutter/fml/macros.h"
12 #include "shaderc/shaderc.hpp"
13 #include "spirv_cross.hpp"
14 #include "spirv_msl.hpp"
64 const std::string& file_name,
67 const std::string& entry_point_name);
std::string TargetPlatformSLExtension(TargetPlatform platform)
spirv_cross::CompilerMSL::Options::Platform TargetPlatformToMSLPlatform(TargetPlatform platform)
std::string SourceLanguageToString(SourceLanguage source_language)
bool TargetPlatformNeedsReflection(TargetPlatform platform)
@ kTessellationControlShader
bool TargetPlatformIsOpenGL(TargetPlatform platform)
std::string EntryPointFunctionNameFromSourceName(const std::string &file_name, SourceType type, SourceLanguage source_language, const std::string &entry_point_name)
bool TargetPlatformIsMetal(TargetPlatform platform)
bool TargetPlatformIsVulkan(TargetPlatform platform)
spv::ExecutionModel ToExecutionModel(SourceType type)
SourceType SourceTypeFromFileName(const std::string &file_name)
std::string TargetPlatformToString(TargetPlatform platform)
std::string SourceTypeToString(SourceType type)
shaderc_shader_kind ToShaderCShaderKind(SourceType type)
bool TargetPlatformBundlesSkSL(TargetPlatform platform)
@ kTessellationEvaluationShader
std::string ShaderCErrorToString(shaderc_compilation_status status)