summaryrefslogtreecommitdiff
path: root/source/slang/lower-to-ir.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/lower-to-ir.cpp')
-rw-r--r--source/slang/lower-to-ir.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/source/slang/lower-to-ir.cpp b/source/slang/lower-to-ir.cpp
index 2f3456d0c..e0dbd5dae 100644
--- a/source/slang/lower-to-ir.cpp
+++ b/source/slang/lower-to-ir.cpp
@@ -785,7 +785,12 @@ struct ValLoweringVisitor : ValVisitor<ValLoweringVisitor, LoweredValInfo, Lower
LoweredTypeInfo visitType(Type* type)
{
- SLANG_UNIMPLEMENTED_X("type lowering");
+ // TODO(tfoley): Now that we use the AST types directly in the IR, there
+ // isn't much to do in the "lowering" step. Still, there might be cases
+ // where certain kinds of legalization need to take place, so this
+ // visitor setup might still be needed in the long run.
+ return LoweredTypeInfo(type);
+// SLANG_UNIMPLEMENTED_X("type lowering");
}
LoweredTypeInfo visitFuncType(FuncType* type)