summaryrefslogtreecommitdiffstats
path: root/source/slang/syntax.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/syntax.cpp')
-rw-r--r--source/slang/syntax.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/source/slang/syntax.cpp b/source/slang/syntax.cpp
index 8bd42a7e4..d02f880fd 100644
--- a/source/slang/syntax.cpp
+++ b/source/slang/syntax.cpp
@@ -1092,17 +1092,6 @@ void Type::accept(IValVisitor* visitor, void* extra)
}
}
- IntrinsicOp findIntrinsicOp(char const* name)
- {
- // TODO: need to make this faster by using a dictionary...
-
- if (0) {}
-#define INTRINSIC(NAME) else if(strcmp(name, #NAME) == 0) return IntrinsicOp::NAME;
-#include "intrinsic-defs.h"
-
- return IntrinsicOp::Unknown;
- }
-
//
// HLSLPatchType