Flutter Engine
The Flutter Engine
Namespaces | Functions
shader_bundle_data.cc File Reference
#include "impeller/compiler/shader_bundle_data.h"
#include <optional>
#include "impeller/shader_bundle/shader_bundle_flatbuffers.h"
#include "impeller/base/validation.h"

Go to the source code of this file.

Namespaces

namespace  impeller
 
namespace  impeller::compiler
 

Functions

static std::optional< fb::shaderbundle::ShaderStage > impeller::compiler::ToStage (spv::ExecutionModel stage)
 
static std::optional< fb::shaderbundle::UniformDataType > impeller::compiler::ToUniformType (spirv_cross::SPIRType::BaseType type)
 
static std::optional< fb::shaderbundle::InputDataType > impeller::compiler::ToInputType (spirv_cross::SPIRType::BaseType type)