Struct CompilerMSL::OpCodePreprocessor

Nested Relationships

This struct is a nested type of Class CompilerMSL.

Inheritance Relationships

Base Type

Struct Documentation

struct OpCodePreprocessor : public SPIRV_CROSS_NAMESPACE::Compiler::OpcodeHandler

Public Functions

inline OpCodePreprocessor(CompilerMSL &compiler_)
virtual bool handle(spv::Op opcode, const uint32_t *args, uint32_t length) override
CompilerMSL::SPVFuncImpl get_spv_func_impl(spv::Op opcode, const uint32_t *args)
void check_resource_write(uint32_t var_id)

Public Members

CompilerMSL &compiler
std::unordered_map<uint32_t, uint32_t> result_types
std::unordered_map<uint32_t, uint32_t> image_pointers_emulated
bool suppress_missing_prototypes = false
bool uses_atomics = false
bool uses_image_write = false
bool uses_buffer_write = false
bool uses_discard = false
bool needs_subgroup_invocation_id = false
bool needs_subgroup_size = false
bool needs_sample_id = false
bool needs_helper_invocation = false