Struct Compiler::InterlockedResourceAccessHandler

Nested Relationships

This struct is a nested type of Class Compiler.

Inheritance Relationships

Base Type

Struct Documentation

struct InterlockedResourceAccessHandler : public SPIRV_CROSS_NAMESPACE::Compiler::OpcodeHandler

Public Functions

inline InterlockedResourceAccessHandler(Compiler &compiler_, uint32_t entry_point_id)
virtual bool handle(spv::Op op, const uint32_t *args, uint32_t length) override
virtual bool begin_function_scope(const uint32_t *args, uint32_t length) override
virtual bool end_function_scope(const uint32_t *args, uint32_t length) override
void access_potential_resource(uint32_t id)

Public Members

Compiler &compiler
bool in_crit_sec = false
uint32_t interlock_function_id = 0
bool split_function_case = false
bool control_flow_interlock = false
bool use_critical_section = false
bool call_stack_is_interlocked = false
SmallVector<uint32_t> call_stack