summaryrefslogtreecommitdiffstats
path: root/source/compiler-core
diff options
context:
space:
mode:
Diffstat (limited to 'source/compiler-core')
-rw-r--r--source/compiler-core/slang-artifact.h6
-rw-r--r--source/compiler-core/slang-downstream-compiler.h4
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); \