diff options
| author | Ellie Hermaszewska <ellieh@nvidia.com> | 2023-08-29 11:26:27 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-08-29 11:26:27 +0800 |
| commit | af363c02bf0fa2502c14f454965adff87170ff15 (patch) | |
| tree | cc3f49d1f2a80bc02d5afd795ac73f168203d40a /source/compiler-core | |
| parent | 508dc3a95de50de4a4d07d0a72a18e40d55b0e2e (diff) | |
s/depreciated/deprecated/ (#3153)
Diffstat (limited to 'source/compiler-core')
| -rw-r--r-- | source/compiler-core/slang-artifact.h | 6 | ||||
| -rw-r--r-- | source/compiler-core/slang-downstream-compiler.h | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/source/compiler-core/slang-artifact.h b/source/compiler-core/slang-artifact.h index 6072cdf76..4f33f5e2e 100644 --- a/source/compiler-core/slang-artifact.h +++ b/source/compiler-core/slang-artifact.h @@ -74,7 +74,7 @@ static_assert(std::is_trivially_copyable_v<TerminatedCharSlice>); If some aspect can apply to multiple items identically we move that to a separate enum. NOTE! -New Kinds must be added at the end. Values can be depreciated, or disabled +New Kinds must be added at the end. Values can be deprecated, or disabled but never removed, without breaking binary compatability. Any change requires a change to SLANG_ARTIFACT_KIND @@ -121,7 +121,7 @@ enum class ArtifactKind : uint8_t SlangIR and LLVMIR can be GPU or CPU orientated, so put in own category. NOTE! -New Payloads must be added at the end. Values can be depreciated, or disabled +New Payloads must be added at the end. Values can be deprecated, or disabled but never removed, without breaking binary compatability. Any change requires a change to SLANG_ARTIFACT_PAYLOAD @@ -196,7 +196,7 @@ enum class ArtifactPayload : uint8_t /* Style. NOTE! -New Styles must be added at the end. Values can be depreciated, or disabled +New Styles must be added at the end. Values can be deprecated, or disabled but never removed, without breaking binary compatability. Any change requires a change to SLANG_ARTIFACT_STYLE diff --git a/source/compiler-core/slang-downstream-compiler.h b/source/compiler-core/slang-downstream-compiler.h index 4feffa743..c8cd02783 100644 --- a/source/compiler-core/slang-downstream-compiler.h +++ b/source/compiler-core/slang-downstream-compiler.h @@ -260,8 +260,8 @@ struct DownstreamCompileOptions }; static_assert(std::is_trivially_copyable_v<DownstreamCompileOptions>); -#define SLANG_ALIAS_DEPRECIATED_VERSION(name, id, firstField, lastField) \ -struct name##_AliasDepreciated##id \ +#define SLANG_ALIAS_DEPRECATED_VERSION(name, id, firstField, lastField) \ +struct name##_AliasDeprecated##id \ { \ static const ptrdiff_t kStart = SLANG_OFFSET_OF(name, firstField); \ static const ptrdiff_t kEnd = SLANG_OFFSET_OF(name, lastField) + sizeof(name::lastField); \ |
