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

Function spvOpcodeIsConstantOrUndef

source/opcode.cpp:166–168  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

164}
165
166bool spvOpcodeIsConstantOrUndef(const spv::Op opcode) {
167 return opcode == spv::Op::OpUndef || spvOpcodeIsConstant(opcode);
168}
169
170int32_t spvOpcodeIsComposite(const spv::Op opcode) {
171 switch (opcode) {

Callers 3

ValidateConstantOperandFunction · 0.85

Calls 1

spvOpcodeIsConstantFunction · 0.85

Tested by

no test coverage detected