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

Method ContainsRuntimeArray

source/val/validation_state.cpp:2123–2128  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2121}
2122
2123bool ValidationState_t::ContainsRuntimeArray(uint32_t id) const {
2124 const auto f = [](const Instruction* inst) {
2125 return inst->opcode() == spv::Op::OpTypeRuntimeArray;
2126 };
2127 return ContainsType(id, f, /* traverse_all_types = */ false);
2128}
2129
2130bool ValidationState_t::ContainsUntypedPointer(uint32_t id) const {
2131 const auto inst = FindDef(id);

Callers 1

ValidateLoadFunction · 0.45

Calls 1

opcodeMethod · 0.45

Tested by

no test coverage detected