struct InterlockedResourceAccessHandler

Defined at line 1079 of file ../../third_party/spirv-cross/src/spirv_cross.hpp

Finds all resources that are written to from inside the critical section, if present.

The critical section is delimited by OpBeginInvocationInterlockEXT and

OpEndInvocationInterlockEXT instructions. In MSL and HLSL, any resources written

while inside the critical section must be placed in a raster order group.

Public Members

Compiler & compiler
bool in_crit_sec
uint32_t interlock_function_id
bool split_function_case
bool control_flow_interlock
bool use_critical_section
bool call_stack_is_interlocked
SmallVector call_stack

Public Methods

void InterlockedResourceAccessHandler (Compiler & compiler_, uint32_t entry_point_id)

Defined at line 1081 of file ../../third_party/spirv-cross/src/spirv_cross.hpp

bool handle (spv::Op op, const uint32_t * args, uint32_t length)
bool begin_function_scope (const uint32_t * args, uint32_t length)
bool end_function_scope (const uint32_t * args, uint32_t length)
void access_potential_resource (uint32_t id)