| 19 | } |
| 20 | |
| 21 | UINT 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 | |
| 28 | CInstructionInfo g_InstructionInfo[D3D10_SB_NUM_OPCODES]; |
| 29 |
no test coverage detected