diff options
Diffstat (limited to 'source/slang/slang-ir.cpp')
| -rw-r--r-- | source/slang/slang-ir.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/source/slang/slang-ir.cpp b/source/slang/slang-ir.cpp index 0a79cec57..49c91dc22 100644 --- a/source/slang/slang-ir.cpp +++ b/source/slang/slang-ir.cpp @@ -2808,9 +2808,10 @@ namespace Slang IRMatrixType* IRBuilder::getMatrixType( IRType* elementType, IRInst* rowCount, - IRInst* columnCount) + IRInst* columnCount, + IRInst* layout) { - IRInst* operands[] = { elementType, rowCount, columnCount }; + IRInst* operands[] = { elementType, rowCount, columnCount, layout }; return (IRMatrixType*)getType( kIROp_MatrixType, sizeof(operands) / sizeof(operands[0]), @@ -7304,6 +7305,9 @@ namespace Slang case kIROp_MakeDifferentialPair: case kIROp_MakeTuple: case kIROp_GetTupleElement: + case kIROp_StructuredBufferLoad: + case kIROp_RWStructuredBufferLoad: + case kIROp_RWStructuredBufferGetElementPtr: case kIROp_Load: // We are ignoring the possibility of loads from bad addresses, or `volatile` loads case kIROp_LoadReverseGradient: case kIROp_ReverseGradientDiffPairRef: |
