| 349 | } |
| 350 | |
| 351 | bool spvOpcodeIsDecoration(const SpvOp opcode) { |
| 352 | switch (opcode) { |
| 353 | case SpvOpDecorate: |
| 354 | case SpvOpDecorateId: |
| 355 | case SpvOpMemberDecorate: |
| 356 | case SpvOpGroupDecorate: |
| 357 | case SpvOpGroupMemberDecorate: |
| 358 | case SpvOpDecorateStringGOOGLE: |
| 359 | case SpvOpMemberDecorateStringGOOGLE: |
| 360 | return true; |
| 361 | default: |
| 362 | break; |
| 363 | } |
| 364 | return false; |
| 365 | } |
| 366 | |
| 367 | bool spvOpcodeIsLoad(const SpvOp opcode) { |
| 368 | switch (opcode) { |
no outgoing calls
no test coverage detected