diff options
| author | Yong He <yonghe@outlook.com> | 2022-12-07 12:52:20 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-12-07 12:52:20 -0800 |
| commit | 70714705747f3491c55e14b74f87641010351d6c (patch) | |
| tree | 8b0e3905892da915b731521dbd3dc0c86482b406 /source/slang/slang-emit-spirv.cpp | |
| parent | 3a3a8b5f7701109fc413f42692c4de5769870489 (diff) | |
Remove `construct` IR op. (#2555)
Co-authored-by: Yong He <yhe@nvidia.com>
Diffstat (limited to 'source/slang/slang-emit-spirv.cpp')
| -rw-r--r-- | source/slang/slang-emit-spirv.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/slang/slang-emit-spirv.cpp b/source/slang/slang-emit-spirv.cpp index c0431cbeb..8027cb2d5 100644 --- a/source/slang/slang-emit-spirv.cpp +++ b/source/slang/slang-emit-spirv.cpp @@ -1601,11 +1601,13 @@ struct SPIRVEmitContext return emitStore(parent, as<IRStore>(inst)); case kIROp_swizzle: return emitSwizzle(parent, as<IRSwizzle>(inst)); - case kIROp_Construct: case kIROp_IntCast: case kIROp_FloatCast: case kIROp_CastIntToFloat: case kIROp_CastFloatToInt: + case kIROp_MatrixReshape: + case kIROp_VectorReshape: + // TODO: break emitConstruct into separate functions for each opcode. return emitConstruct(parent, inst); case kIROp_BitCast: return emitInst( |
