10 #include "flutter/fml/logging.h"
11 #include "flutter/fml/macros.h"
12 #include "spirv_glsl.hpp"
13 #include "spirv_msl.hpp"
20 using MSLCompiler = std::shared_ptr<spirv_cross::CompilerMSL>;
23 using Compiler = std::variant<MSLCompiler, GLSLCompiler, SkSLCompiler>;
45 const spirv_cross::Compiler*
operator->()
const;
49 operator bool()
const;
56 spirv_cross::ID
id)
const;
64 const spirv_cross::CompilerMSL* GetMSLCompiler()
const;
66 const spirv_cross::CompilerGLSL* GetGLSLCompiler()
const;