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

Method RegisterFunctionParameter

source/val/function.cpp:55–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53}
54
55spv_result_t Function::RegisterFunctionParameter(uint32_t parameter_id,
56 uint32_t type_id) {
57 assert(current_block_ == nullptr &&
58 "RegisterFunctionParameter can only be called when parsing the binary "
59 "outside of a block");
60 // TODO(umar): Validate function parameter type order and count
61 // TODO(umar): Use these variables to validate parameter type
62 (void)parameter_id;
63 (void)type_id;
64 return SPV_SUCCESS;
65}
66
67spv_result_t Function::RegisterLoopMerge(uint32_t merge_id,
68 uint32_t continue_id) {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected