Skip to content

Commit a529a31

Browse files
authored
[SM6.10] Add *Transpose values to MatrixLayout enum (#8319)
Based on spec update microsoft/hlsl-specs#803.
1 parent 811bf1f commit a529a31

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

include/dxc/DXIL/DxilConstants.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,9 @@ enum class LinalgMatrixLayout : uint32_t {
208208
RowMajor = 0,
209209
ColumnMajor = 1,
210210
MulOptimal = 2,
211-
OuterProductOptimal = 3,
211+
MulOptimalTranspose = 3,
212+
OuterProductOptimal = 4,
213+
OuterProductOptimalTranspose = 5,
212214
};
213215

214216
// Must match D3D_INTERPOLATION_MODE

tools/clang/lib/Headers/hlsl/dx/linalg.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,9 @@ struct MatrixLayout {
151151
RowMajor = 0,
152152
ColMajor = 1,
153153
MulOptimal = 2,
154-
OuterProductOptimal = 3,
154+
MulOptimalTranspose = 3,
155+
OuterProductOptimal = 4,
156+
OuterProductOptimalTranspose = 5,
155157
};
156158
};
157159
using MatrixLayoutEnum = MatrixLayout::MatrixLayoutEnum;

0 commit comments

Comments
 (0)