summaryrefslogtreecommitdiffstats
path: root/source/slang/slang-ast-decl.h
diff options
context:
space:
mode:
authorEllie Hermaszewska <ellieh@nvidia.com>2025-10-13 23:14:45 +0900
committerGitHub <noreply@github.com>2025-10-13 22:14:45 +0800
commit96df31a9fa53e3d897a2b7c4eef021f37f421c91 (patch)
tree46cfb983265ce63b619da3b18004d2c163371d2c /source/slang/slang-ast-decl.h
parentf5a3a6dc6a98d22964154f809f9e0dcae30ab67f (diff)
Fix segfault on arrays of structs containing parameter blocks (#8555)
Closes https://github.com/shader-slang/slang/issues/8154 However there is further design work to do on implementing the "NonAddressableType" suggestion
Diffstat (limited to 'source/slang/slang-ast-decl.h')
-rw-r--r--source/slang/slang-ast-decl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/slang/slang-ast-decl.h b/source/slang/slang-ast-decl.h
index 1a850da0d..0bda6fc79 100644
--- a/source/slang/slang-ast-decl.h
+++ b/source/slang/slang-ast-decl.h
@@ -377,6 +377,7 @@ enum class TypeTag
Incomplete = 2,
LinkTimeSized = 4,
Opaque = 8,
+ NonAddressable = 16,
};
// Declaration of a type that represents some sort of aggregate