summaryrefslogtreecommitdiff
path: root/source/slang/slang-serialize-types.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/slang-serialize-types.h')
-rw-r--r--source/slang/slang-serialize-types.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/source/slang/slang-serialize-types.h b/source/slang/slang-serialize-types.h
index be49be1ea..ca54848c2 100644
--- a/source/slang/slang-serialize-types.h
+++ b/source/slang/slang-serialize-types.h
@@ -5,6 +5,7 @@
#include "../core/slang-array-view.h"
#include "../core/slang-riff.h"
#include "../core/slang-string-slice-pool.h"
+#include "slang-ir.h"
// #include "slang-name.h"
// #include "slang-source-loc.h"
@@ -109,6 +110,12 @@ struct PropertyKeys<Module>
static const FourCC::RawValue FileDependencies = SLANG_FOUR_CC('f', 'd', 'e', 'p');
};
+template<>
+struct PropertyKeys<IRModule>
+{
+ static const FourCC::RawValue IRModule = SLANG_FOUR_CC('i', 'r', ' ', ' ');
+};
+
// For types/FourCC that work for serializing in general (not just IR).
struct SerialBinary
{