diff options
| author | Yong He <yonghe@outlook.com> | 2024-02-22 07:14:55 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-22 07:14:55 -0800 |
| commit | 8ec5b3e6ef2e7e5c3adaa5accb375676b1c09ff0 (patch) | |
| tree | f3023dc51c32d74d1b5dd4701f5535c8227fe17e /source/slang/slang-serialize-types.h | |
| parent | c5ac7dee8a47dcb168a6556d2e8cdb8d2fe09a37 (diff) | |
Add API for querying and reusing precompiled binary modules. (#3614)
Diffstat (limited to 'source/slang/slang-serialize-types.h')
| -rw-r--r-- | source/slang/slang-serialize-types.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/slang/slang-serialize-types.h b/source/slang/slang-serialize-types.h index 7623eb4cf..6be35ba09 100644 --- a/source/slang/slang-serialize-types.h +++ b/source/slang/slang-serialize-types.h @@ -144,6 +144,9 @@ struct SerialBinary /// Container static const FourCC kContainerHeaderFourCc = SLANG_FOUR_CC('S', 'c', 'h', 'd'); + // Module header + static const FourCC kModuleHeaderFourCc = SLANG_FOUR_CC('S', 'm', 'h', 'd'); + struct ContainerHeader { uint32_t compressionType; ///< Holds the compression type used (if used at all) |
