MCPcopy Create free account
hub / github.com/InoriRus/Kyty / spvOpcodeIsDebug

Function spvOpcodeIsDebug

source/3rdparty/vulkan/source/opcode.cpp:624–638  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

622}
623
624bool spvOpcodeIsDebug(SpvOp opcode) {
625 switch (opcode) {
626 case SpvOpName:
627 case SpvOpMemberName:
628 case SpvOpSource:
629 case SpvOpSourceContinued:
630 case SpvOpSourceExtension:
631 case SpvOpString:
632 case SpvOpLine:
633 case SpvOpNoLine:
634 return true;
635 default:
636 return false;
637 }
638}
639
640bool spvOpcodeIsCommutativeBinaryOperator(SpvOp opcode) {
641 switch (opcode) {

Callers 5

HandleInstructionMethod · 0.85
ValidateTypeFunctionFunction · 0.85
IdPassFunction · 0.85
SimplifyFunctionMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected