MCPcopy Create free account
hub / github.com/KhronosGroup/SPIRV-Tools / IsFirstBlock

Method IsFirstBlock

source/val/function.cpp:51–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49 parameter_ids_() {}
50
51bool Function::IsFirstBlock(uint32_t block_id) const {
52 return !ordered_blocks_.empty() && *first_block() == block_id;
53}
54
55spv_result_t Function::RegisterFunctionParameter(uint32_t parameter_id,
56 uint32_t type_id) {

Callers 1

FirstBlockAssertFunction · 0.80

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected