summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authorEllie Hermaszewska <ellieh@nvidia.com>2025-07-22 20:32:02 +0800
committerGitHub <noreply@github.com>2025-07-22 12:32:02 +0000
commitf25e5a89f00bcecacee4f09901d5cfdc1be341c6 (patch)
treea2281920c7897314004d6bfdd54bffdeb3124bda /source
parente6906d65ed5367b46675f97b2a272a52c74b6806 (diff)
Add CI to check ir module versioning (#7821)
Diffstat (limited to 'source')
-rw-r--r--source/slang/slang-ir.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/slang/slang-ir.h b/source/slang/slang-ir.h
index 0f4da4f0d..1f6418036 100644
--- a/source/slang/slang-ir.h
+++ b/source/slang/slang-ir.h
@@ -2409,6 +2409,7 @@ public:
//
const static UInt k_minSupportedModuleVersion = 1;
const static UInt k_maxSupportedModuleVersion = 1;
+ static_assert(k_minSupportedModuleVersion <= k_maxSupportedModuleVersion);
private:
friend struct IRSerialReadContext;