5 #ifndef FLUTTER_IMPELLER_COMPILER_SHADER_BUNDLE_DATA_H_
6 #define FLUTTER_IMPELLER_COMPILER_SHADER_BUNDLE_DATA_H_
11 #include "flutter/fml/mapping.h"
13 #include "impeller/shader_bundle/shader_bundle_flatbuffers.h"
22 spirv_cross::SPIRType::BaseType
type =
23 spirv_cross::SPIRType::BaseType::Float;
36 std::vector<ShaderUniformStructField>
fields;
47 spv::ExecutionModel stage,
60 void SetSkSLData(std::shared_ptr<fml::Mapping> sksl);
65 const std::string entrypoint_;
66 const spv::ExecutionModel stage_;
68 std::vector<ShaderUniformStruct> uniform_structs_;
69 std::vector<ShaderUniformTexture> uniform_textures_;
70 std::vector<InputDescription> inputs_;
71 std::shared_ptr<fml::Mapping> shader_;
72 std::shared_ptr<fml::Mapping> sksl_;
82 #endif // FLUTTER_IMPELLER_COMPILER_SHADER_BUNDLE_DATA_H_