MCPcopy Create free account
hub / github.com/3Shain/dxmt / GetNumInstructionOperands

Function GetNumInstructionOperands

libs/DXBCParser/ShaderBinary.cpp:21–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19}
20
21UINT GetNumInstructionOperands(D3D10_SB_OPCODE_TYPE OpCode) {
22 if (IsOpCodeValid(OpCode))
23 return g_InstructionInfo[OpCode].m_NumOperands;
24 else
25 throw E_FAIL;
26}
27
28CInstructionInfo g_InstructionInfo[D3D10_SB_NUM_OPCODES];
29

Callers 1

ParseInstructionMethod · 0.85

Calls 1

IsOpCodeValidFunction · 0.85

Tested by

no test coverage detected