diff options
Diffstat (limited to 'source/slang/slang-diagnostic-defs.h')
| -rw-r--r-- | source/slang/slang-diagnostic-defs.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/source/slang/slang-diagnostic-defs.h b/source/slang/slang-diagnostic-defs.h index 840192a50..20d15a2ef 100644 --- a/source/slang/slang-diagnostic-defs.h +++ b/source/slang/slang-diagnostic-defs.h @@ -661,8 +661,14 @@ DIAGNOSTIC(30025, Error, invalidArraySize, "array size must be non-negative.") DIAGNOSTIC( 30027, Error, - disallowedArrayOfParameterBlock, - "Arrays of ParameterBlock are not allowed") + disallowedArrayOfNonAddressableType, + "Arrays of non-addressable type '$0' are not allowed") + +DIAGNOSTIC( + 30028, + Error, + nonAddressableTypeInStructuredBuffer, + "'$0' is non-addressable and cannot be used in StructuredBuffer") DIAGNOSTIC( 30029, Error, |
