| 2121 | } |
| 2122 | |
| 2123 | bool 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 | |
| 2130 | bool ValidationState_t::ContainsUntypedPointer(uint32_t id) const { |
| 2131 | const auto inst = FindDef(id); |