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

Function spvOpcodeIsSpecConstant

source/3rdparty/vulkan/source/opcode.cpp:218–229  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

216}
217
218int32_t spvOpcodeIsSpecConstant(const SpvOp opcode) {
219 switch (opcode) {
220 case SpvOpSpecConstantTrue:
221 case SpvOpSpecConstantFalse:
222 case SpvOpSpecConstant:
223 case SpvOpSpecConstantComposite:
224 case SpvOpSpecConstantOp:
225 return true;
226 default:
227 return false;
228 }
229}
230
231int32_t spvOpcodeIsConstant(const SpvOp opcode) {
232 switch (opcode) {

Callers 6

EvalInt32IfConstMethod · 0.85
getSizeFunction · 0.85
IsSpecConstantMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected