diff options
| author | Tim Foley <tfoleyNV@users.noreply.github.com> | 2017-09-07 10:31:37 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-09-07 10:31:37 -0700 |
| commit | 0e566a63f0bafb7def65521315e9f19a2bc79e34 (patch) | |
| tree | 470c20f7948693f39b7603645ad9d09fb693c459 /source/slang/syntax.h | |
| parent | ca16ede67d3fc34ec1cc81b8f835199c5ef1ab9a (diff) | |
| parent | ced92a047e510480cff15be1a1cd102abffa3f82 (diff) | |
Merge pull request #177 from tfoleyNV/ir-work
Replace old notion of "intrinsic" operations
Diffstat (limited to 'source/slang/syntax.h')
| -rw-r--r-- | source/slang/syntax.h | 31 |
1 files changed, 4 insertions, 27 deletions
diff --git a/source/slang/syntax.h b/source/slang/syntax.h index 3a7d25f6c..2fcfe8d39 100644 --- a/source/slang/syntax.h +++ b/source/slang/syntax.h @@ -2,10 +2,11 @@ #define RASTER_RENDERER_SYNTAX_H #include "../core/basic.h" -#include "Lexer.h" -#include "Profile.h" +#include "ir.h" +#include "lexer.h" +#include "profile.h" -#include "../../Slang.h" +#include "../../slang.h" #include <assert.h> @@ -80,15 +81,6 @@ namespace Slang #include "syntax-defs.h" #include "object-meta-end.h" - enum class IntrinsicOp - { - Unknown = 0, -#define INTRINSIC(NAME) NAME, -#include "intrinsic-defs.h" - }; - - IntrinsicOp findIntrinsicOp(char const* name); - // Helper type for pairing up a name and the location where it appeared struct NameLoc { @@ -243,21 +235,6 @@ namespace Slang FilteredModifierList<Modifier>::Iterator end() { return FilteredModifierList<Modifier>::Iterator(nullptr); } }; - - enum class BaseType - { - // Note(tfoley): These are ordered in terms of promotion rank, so be vareful when messing with this - - Void = 0, - Bool, - Int, - UInt, - UInt64, - Half, - Float, - Double, - }; - class NamedExpressionType; class GenericDecl; class ContainerDecl; |
