Skip to content

Commit 5af3f99

Browse files
authored
Merge branch 'main' into GetDimensions
2 parents a6d6c73 + e3851c5 commit 5af3f99

File tree

8 files changed

+353
-412
lines changed

8 files changed

+353
-412
lines changed

docs/DXIL.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3076,7 +3076,7 @@ ID Name Description
30763076
2147483656 RayQuery_CandidateTriangleObjectPosition returns candidate triangle vertices in object space as <9 x float>
30773077
2147483657 RayQuery_CommittedTriangleObjectPosition returns committed triangle vertices in object space as <9 x float>
30783078
2147483658 HitObject_TriangleObjectPosition returns triangle vertices in object space as <9 x float>
3079-
2147483659 CreateMatrix creates a handle to a Matrix
3079+
2147483659 ReservedD0 reserved
30803080
2147483660 FillMatrix fills a matrix with a scalar value
30813081
2147483661 CopyConvertMatrix Converts and copies the element and use type of the source matrix to the destination matrix with optional transpose
30823082
2147483662 MatrixLoadFromDescriptor fills a matrix with data from a [RW]ByteAddressBuffer
@@ -3094,10 +3094,10 @@ ID Name Description
30943094
2147483674 MatrixVecMulAdd Multiplies a MxK dimension matrix and a K sized input vector then adds a M sized bias vector
30953095
2147483675 MatrixAccumulateToDescriptor accumulates a matrix to a RWByteAddressBuffer
30963096
2147483676 MatrixAccumulateToMemory accumulates a matrix to groupshared memory
3097-
2147483677 MatrixOuterProduct Outer products an M sized vector and a K sized vector producing an MxK matrix
3098-
2147483678 LinAlgMatrixReserved0 reserved
3099-
2147483679 LinAlgMatrixReserved1 reserved
3100-
2147483680 LinAlgMatrixReserved2 reserved
3097+
2147483677 MatrixOuterProduct Outer products an M sized vector and a N sized vector producing an MxN matrix
3098+
2147483678 ReservedD1 reserved
3099+
2147483679 ReservedD2 reserved
3100+
2147483680 ReservedD3 reserved
31013101
2147483681 DebugBreak triggers a breakpoint if a debugger is attached
31023102
2147483682 IsDebuggerPresent returns true if a debugger is attached
31033103
========== ======================================== ===================================================================================================================

docs/ReleaseNotes.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ line upon naming the release. Refer to previous for appropriate section names.
3737
- `dx::IsDebuggerPresent()` returns true if a debugger is attached.
3838
- SPIR-V: `DebugBreak()` emits `NonSemantic.DebugBreak` extended instruction; `IsDebuggerPresent()` is not supported.
3939

40+
#### Other Changes
41+
- Fixed mesh shader semantics that were incorrectly case sensitive.
42+
4043
### Version 1.9.2602
4144

4245
#### Shader Model 6.9 Release

include/dxc/DXIL/DxilConstants.h

Lines changed: 17 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -524,9 +524,10 @@ static const OpCodeTableID TableID = OpCodeTableID::ExperimentalOps;
524524
// Enumeration for ExperimentalOps DXIL operations
525525
enum 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

Comments
 (0)