summaryrefslogtreecommitdiffstats
path: root/source/slang/syntax.cpp
diff options
context:
space:
mode:
authorTim Foley <tfoleyNV@users.noreply.github.com>2017-09-07 10:31:37 -0700
committerGitHub <noreply@github.com>2017-09-07 10:31:37 -0700
commit0e566a63f0bafb7def65521315e9f19a2bc79e34 (patch)
tree470c20f7948693f39b7603645ad9d09fb693c459 /source/slang/syntax.cpp
parentca16ede67d3fc34ec1cc81b8f835199c5ef1ab9a (diff)
parentced92a047e510480cff15be1a1cd102abffa3f82 (diff)
Merge pull request #177 from tfoleyNV/ir-work
Replace old notion of "intrinsic" operations
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