@@ -531,9 +531,8 @@ static const OpCodeTableID TableID = OpCodeTableID::ExperimentalOps;
531531// Enumeration for ExperimentalOps DXIL operations
532532enum class OpCode : unsigned {
533533 //
534- ReservedE1 = 30 , // reserved
535- ReservedE2 = 31 , // reserved
536- ReservedE3 = 32 , // reserved
534+ ReservedE0 = 31 , // reserved
535+ ReservedE1 = 32 , // reserved
537536
538537 // Debugging
539538 DebugBreak = 33 , // triggers a breakpoint if a debugger is attached
@@ -552,6 +551,8 @@ enum class OpCode : unsigned {
552551 9 , // returns committed triangle vertices in object space as <9 x float>
553552
554553 // Linear Algebra Operations
554+ LinAlgConvert = 30 , // Converts an input vec with data of input interp type to
555+ // a vec with data of output interp type
555556 LinAlgCopyConvertMatrix =
556557 13 , // Converts and copies the element and use type of the source matrix
557558 // to the destination matrix with optional transpose
@@ -1349,12 +1350,14 @@ enum class OpCode : unsigned {
13491350 ExperimentalOps,
13501351 LinAlgMatrixOuterProduct), // Outer products an M sized vector and a N
13511352 // sized vector producing an MxN matrix
1352- // ReservedE1 = 0x8000001E, 2147483678U, -2147483618
1353+ // LinAlgConvert = 0x8000001E, 2147483678U, -2147483618
1354+ EXP_OPCODE (ExperimentalOps,
1355+ LinAlgConvert), // Converts an input vec with data of input interp
1356+ // type to a vec with data of output interp type
1357+ // ReservedE0 = 0x8000001F, 2147483679U, -2147483617
1358+ EXP_OPCODE (ExperimentalOps, ReservedE0), // reserved
1359+ // ReservedE1 = 0x80000020, 2147483680U, -2147483616
13531360 EXP_OPCODE (ExperimentalOps, ReservedE1), // reserved
1354- // ReservedE2 = 0x8000001F, 2147483679U, -2147483617
1355- EXP_OPCODE (ExperimentalOps, ReservedE2), // reserved
1356- // ReservedE3 = 0x80000020, 2147483680U, -2147483616
1357- EXP_OPCODE (ExperimentalOps, ReservedE3), // reserved
13581361 // DebugBreak = 0x80000021, 2147483681U, -2147483615
13591362 EXP_OPCODE (ExperimentalOps,
13601363 DebugBreak), // triggers a breakpoint if a debugger is attached
@@ -1520,6 +1523,7 @@ enum class OpCodeClass : unsigned {
15201523 CreateHandleForLib,
15211524
15221525 // Linear Algebra Operations
1526+ LinAlgConvert,
15231527 LinAlgCopyConvertMatrix,
15241528 LinAlgFillMatrix,
15251529 LinAlgMatVecMul,
@@ -1725,7 +1729,7 @@ enum class OpCodeClass : unsigned {
17251729 NodeOutputIsValid,
17261730 OutputComplete,
17271731
1728- NumOpClasses = 221 , // exclusive last value of enumeration
1732+ NumOpClasses = 222 , // exclusive last value of enumeration
17291733};
17301734// OPCODECLASS-ENUM:END
17311735
0 commit comments