@@ -524,9 +524,10 @@ static const OpCodeTableID TableID = OpCodeTableID::ExperimentalOps;
524524// Enumeration for ExperimentalOps DXIL operations
525525enum class OpCode : unsigned {
526526 //
527- LinAlgMatrixReserved0 = 30 , // reserved
528- LinAlgMatrixReserved1 = 31 , // reserved
529- LinAlgMatrixReserved2 = 32 , // reserved
527+ ReservedD0 = 11 , // reserved
528+ ReservedD1 = 30 , // reserved
529+ ReservedD2 = 31 , // reserved
530+ ReservedD3 = 32 , // reserved
530531
531532 // Debugging
532533 DebugBreak = 33 , // triggers a breakpoint if a debugger is attached
@@ -548,7 +549,6 @@ enum class OpCode : unsigned {
548549 CopyConvertMatrix =
549550 13 , // Converts and copies the element and use type of the source matrix
550551 // to the destination matrix with optional transpose
551- CreateMatrix = 11 , // creates a handle to a Matrix
552552 FillMatrix = 12 , // fills a matrix with a scalar value
553553 MatrixAccumulate = 24 , // accumulate A or B matrix into Accumulator matrix
554554 // following LHS += RHS
@@ -568,8 +568,8 @@ enum class OpCode : unsigned {
568568 15 , // fills a matrix with data from a groupshared array
569569 MatrixMulOp =
570570 23 , // applies a multiplication op to matrix C using A and B as parameters
571- MatrixOuterProduct = 29 , // Outer products an M sized vector and a K sized
572- // vector producing an MxK matrix
571+ MatrixOuterProduct = 29 , // Outer products an M sized vector and a N sized
572+ // vector producing an MxN matrix
573573 MatrixQueryAccumulatorLayout = 22 , // returns comptime 0 when accumulator
574574 // matrix are A layout, 1 when B layout
575575 MatrixSetElement = 19 , // sets the element of the matrix corresponding to the
@@ -1258,8 +1258,8 @@ enum class OpCode : unsigned {
12581258 EXP_OPCODE (ExperimentalOps,
12591259 HitObject_TriangleObjectPosition), // returns triangle vertices in
12601260 // object space as <9 x float>
1261- // CreateMatrix = 0x8000000B, 2147483659U, -2147483637
1262- EXP_OPCODE (ExperimentalOps, CreateMatrix ), // creates a handle to a Matrix
1261+ // ReservedD0 = 0x8000000B, 2147483659U, -2147483637
1262+ EXP_OPCODE (ExperimentalOps, ReservedD0 ), // reserved
12631263 // FillMatrix = 0x8000000C, 2147483660U, -2147483636
12641264 EXP_OPCODE (ExperimentalOps, FillMatrix), // fills a matrix with a scalar value
12651265 // CopyConvertMatrix = 0x8000000D, 2147483661U, -2147483635
@@ -1332,14 +1332,14 @@ enum class OpCode : unsigned {
13321332 MatrixAccumulateToMemory), // accumulates a matrix to groupshared memory
13331333 // MatrixOuterProduct = 0x8000001D, 2147483677U, -2147483619
13341334 EXP_OPCODE (ExperimentalOps,
1335- MatrixOuterProduct), // Outer products an M sized vector and a K
1336- // sized vector producing an MxK matrix
1337- // LinAlgMatrixReserved0 = 0x8000001E, 2147483678U, -2147483618
1338- EXP_OPCODE (ExperimentalOps, LinAlgMatrixReserved0 ), // reserved
1339- // LinAlgMatrixReserved1 = 0x8000001F, 2147483679U, -2147483617
1340- EXP_OPCODE (ExperimentalOps, LinAlgMatrixReserved1 ), // reserved
1341- // LinAlgMatrixReserved2 = 0x80000020, 2147483680U, -2147483616
1342- EXP_OPCODE (ExperimentalOps, LinAlgMatrixReserved2 ), // reserved
1335+ MatrixOuterProduct), // Outer products an M sized vector and a N
1336+ // sized vector producing an MxN matrix
1337+ // ReservedD1 = 0x8000001E, 2147483678U, -2147483618
1338+ EXP_OPCODE (ExperimentalOps, ReservedD1 ), // reserved
1339+ // ReservedD2 = 0x8000001F, 2147483679U, -2147483617
1340+ EXP_OPCODE (ExperimentalOps, ReservedD2 ), // reserved
1341+ // ReservedD3 = 0x80000020, 2147483680U, -2147483616
1342+ EXP_OPCODE (ExperimentalOps, ReservedD3 ), // reserved
13431343 // DebugBreak = 0x80000021, 2147483681U, -2147483615
13441344 EXP_OPCODE (ExperimentalOps,
13451345 DebugBreak), // triggers a breakpoint if a debugger is attached
@@ -1506,7 +1506,6 @@ enum class OpCodeClass : unsigned {
15061506
15071507 // Linear Algebra Operations
15081508 CopyConvertMatrix,
1509- CreateMatrix,
15101509 FillMatrix,
15111510 MatVecMul,
15121511 MatVecMulAdd,
@@ -1714,7 +1713,7 @@ enum class OpCodeClass : unsigned {
17141713 NodeOutputIsValid,
17151714 OutputComplete,
17161715
1717- NumOpClasses = 225 , // exclusive last value of enumeration
1716+ NumOpClasses = 224 , // exclusive last value of enumeration
17181717};
17191718// OPCODECLASS-ENUM:END
17201719
0 commit comments