#include <compiler_backend.h>
Definition at line 19 of file compiler_backend.h.
◆ Compiler
◆ GLSLCompiler
◆ MSLCompiler
◆ SkSLCompiler
◆ ExtendedResourceIndex
◆ Type
◆ CompilerBackend() [1/5]
impeller::compiler::CompilerBackend::CompilerBackend |
( |
MSLCompiler |
compiler | ) |
|
|
explicit |
◆ CompilerBackend() [2/5]
impeller::compiler::CompilerBackend::CompilerBackend |
( |
GLSLCompiler |
compiler | ) |
|
|
explicit |
◆ CompilerBackend() [3/5]
impeller::compiler::CompilerBackend::CompilerBackend |
( |
SkSLCompiler |
compiler | ) |
|
|
explicit |
◆ CompilerBackend() [4/5]
impeller::compiler::CompilerBackend::CompilerBackend |
( |
Type |
type, |
|
|
Compiler |
compiler |
|
) |
| |
◆ CompilerBackend() [5/5]
impeller::compiler::CompilerBackend::CompilerBackend |
( |
| ) |
|
|
default |
◆ ~CompilerBackend()
impeller::compiler::CompilerBackend::~CompilerBackend |
( |
| ) |
|
|
default |
◆ GetCompiler() [1/2]
spirv_cross::Compiler * impeller::compiler::CompilerBackend::GetCompiler |
( |
| ) |
|
◆ GetCompiler() [2/2]
const spirv_cross::Compiler * impeller::compiler::CompilerBackend::GetCompiler |
( |
| ) |
const |
Definition at line 54 of file compiler_backend.cc.
55 if (
auto compiler = GetGLSLCompiler()) {
59 if (
auto compiler = GetMSLCompiler()) {
63 if (
auto compiler = GetSkSLCompiler()) {
◆ GetExtendedMSLResourceBinding()
uint32_t impeller::compiler::CompilerBackend::GetExtendedMSLResourceBinding |
( |
ExtendedResourceIndex |
index, |
|
|
spirv_cross::ID |
id |
|
) |
| const |
Definition at line 35 of file compiler_backend.cc.
38 if (
auto compiler = GetMSLCompiler()) {
41 return compiler->get_automatic_msl_resource_binding(
id);
43 return compiler->get_automatic_msl_resource_binding_secondary(
id);
47 if (
auto compiler = GetGLSLCompiler()) {
48 return compiler->get_decoration(
id, spv::Decoration::DecorationBinding);
50 const auto kOOBIndex =
static_cast<uint32_t
>(-1);
References kPrimary, and kSecondary.
◆ GetType()
◆ operator bool()
impeller::compiler::CompilerBackend::operator bool |
( |
| ) |
const |
|
explicit |
◆ operator->()
const spirv_cross::Compiler * impeller::compiler::CompilerBackend::operator-> |
( |
| ) |
const |
The documentation for this struct was generated from the following files: