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

Function IsOpCodeValid

libs/DXBCParser/ShaderBinary.cpp:17–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15namespace microsoft::D3D10ShaderBinary {
16
17BOOL IsOpCodeValid(D3D10_SB_OPCODE_TYPE OpCode) {
18 return OpCode < D3D10_SB_NUM_OPCODES;
19}
20
21UINT GetNumInstructionOperands(D3D10_SB_OPCODE_TYPE OpCode) {
22 if (IsOpCodeValid(OpCode))

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected