| 647 | } |
| 648 | |
| 649 | bool spvIsExtendedInstruction(const spv::Op opcode) { |
| 650 | switch (opcode) { |
| 651 | case spv::Op::OpExtInst: |
| 652 | case spv::Op::OpExtInstWithForwardRefsKHR: |
| 653 | return true; |
| 654 | default: |
| 655 | return false; |
| 656 | } |
| 657 | } |
| 658 | |
| 659 | std::vector<uint32_t> spvOpcodeMemorySemanticsOperandIndices(spv::Op opcode) { |
| 660 | switch (opcode) { |
no outgoing calls
no test coverage detected