@@ -305,7 +305,7 @@ convention for interface methods.
305
305
// / SLANG_INLINE exists to have a way to inline consistent with SLANG_ALWAYS_INLINE
306
306
#define SLANG_INLINE inline
307
307
308
- // If explicilty disabled and not set, set to not available
308
+ // If explicitly disabled and not set, set to not available
309
309
#if !defined(SLANG_HAS_EXCEPTIONS) && defined(SLANG_DISABLE_EXCEPTIONS)
310
310
#define SLANG_HAS_EXCEPTIONS 0
311
311
#endif
@@ -488,9 +488,9 @@ convention for interface methods.
488
488
#define SLANG_UNALIGNED_ACCESS 0
489
489
#endif
490
490
491
- // One endianess must be set
491
+ // One endianness must be set
492
492
#if ((SLANG_BIG_ENDIAN | SLANG_LITTLE_ENDIAN) == 0)
493
- #error "Couldn't determine endianess "
493
+ #error "Couldn't determine endianness "
494
494
#endif
495
495
496
496
#ifndef SLANG_NO_INTTYPES
@@ -551,7 +551,7 @@ typedef uint32_t SlangSizeT;
551
551
{
552
552
SLANG_SEVERITY_DISABLED = 0 , /* *< A message that is disabled, filtered out. */
553
553
SLANG_SEVERITY_NOTE, /* *< An informative message. */
554
- SLANG_SEVERITY_WARNING, /* *< A warning, which indicates a possible proble . */
554
+ SLANG_SEVERITY_WARNING, /* *< A warning, which indicates a possible problem . */
555
555
SLANG_SEVERITY_ERROR, /* *< An error, indicating that compilation failed. */
556
556
SLANG_SEVERITY_FATAL, /* *< An unrecoverable error, which forced compilation to abort. */
557
557
SLANG_SEVERITY_INTERNAL, /* *< An internal error, indicating a logic error in the compiler.
@@ -811,10 +811,10 @@ typedef uint32_t SlangSizeT;
811
811
{
812
812
SLANG_DEBUG_INFO_LEVEL_NONE = 0 , /* *< Don't emit debug information at all. */
813
813
SLANG_DEBUG_INFO_LEVEL_MINIMAL, /* *< Emit as little debug information as possible, while
814
- still supporting stack trackes . */
814
+ still supporting stack trackers . */
815
815
SLANG_DEBUG_INFO_LEVEL_STANDARD, /* *< Emit whatever is the standard level of debug
816
816
information for each target. */
817
- SLANG_DEBUG_INFO_LEVEL_MAXIMAL, /* *< Emit as much debug infromation as possible for each
817
+ SLANG_DEBUG_INFO_LEVEL_MAXIMAL, /* *< Emit as much debug information as possible for each
818
818
target. */
819
819
};
820
820
@@ -823,7 +823,7 @@ typedef uint32_t SlangSizeT;
823
823
enum SlangDebugInfoFormat : SlangDebugInfoFormatIntegral
824
824
{
825
825
SLANG_DEBUG_INFO_FORMAT_DEFAULT, // /< Use the default debugging format for the target
826
- SLANG_DEBUG_INFO_FORMAT_C7, // /< CodeView C7 format (typically means debugging infomation is
826
+ SLANG_DEBUG_INFO_FORMAT_C7, // /< CodeView C7 format (typically means debugging information is
827
827
// /< embedded in the binary)
828
828
SLANG_DEBUG_INFO_FORMAT_PDB, // /< Program database
829
829
@@ -1958,14 +1958,14 @@ public: \
1958
1958
// This `MyParams` type introduces two existential type parameters:
1959
1959
// one for `material` and one for `lights`. Even though `lights`
1960
1960
// is an array, it only introduces one type parameter, because
1961
- // we need to hae a *single* concrete type for all the array
1961
+ // we need to have a *single* concrete type for all the array
1962
1962
// elements to be able to generate specialized code.
1963
1963
//
1964
1964
SLANG_PARAMETER_CATEGORY_EXISTENTIAL_TYPE_PARAM,
1965
1965
1966
1966
// An existential object parameter represents a value
1967
1967
// that needs to be passed in to provide data for some
1968
- // interface-type shader paameter .
1968
+ // interface-type shader parameter .
1969
1969
//
1970
1970
// Consider this example:
1971
1971
//
@@ -2025,13 +2025,13 @@ public: \
2025
2025
parameters of different types as occupying the same binding space for layout
2026
2026
(e.g., in SPIR-V both a `Texture2D` and `SamplerState` use the same space of
2027
2027
`binding` indices, and are not allowed to overlap), while those same types
2028
- map to different types of bindingsin the API (e.g., both textures and samplers
2028
+ map to different types of bindings in the API (e.g., both textures and samplers
2029
2029
use different `VkDescriptorType` values).
2030
2030
2031
2031
When you want to answer "what register/binding did this parameter use?" you
2032
2032
should use `SlangParameterCategory`.
2033
2033
2034
- When you wnat to answer "what type of descriptor range should this parameter use?"
2034
+ When you want to answer "what type of descriptor range should this parameter use?"
2035
2035
you should use `SlangBindingType`.
2036
2036
*/
2037
2037
typedef SlangUInt32 SlangBindingTypeIntegral;
@@ -3601,7 +3601,7 @@ struct IGlobalSession : public ISlangUnknown
3601
3601
*/
3602
3602
virtual SLANG_NO_THROW ISlangSharedLibraryLoader* SLANG_MCALL getSharedLibraryLoader () = 0;
3603
3603
3604
- /* * Returns SLANG_OK if a the compilation target is supported for this session
3604
+ /* * Returns SLANG_OK if the compilation target is supported for this session
3605
3605
3606
3606
@param target The compilation target to test
3607
3607
@return SLANG_OK if the target is available
@@ -3611,7 +3611,7 @@ struct IGlobalSession : public ISlangUnknown
3611
3611
virtual SLANG_NO_THROW SlangResult SLANG_MCALL
3612
3612
checkCompileTargetSupport (SlangCompileTarget target) = 0 ;
3613
3613
3614
- /* * Returns SLANG_OK if a the pass through support is supported for this session
3614
+ /* * Returns SLANG_OK if the pass through support is supported for this session
3615
3615
@param session Session
3616
3616
@param target The compilation target to test
3617
3617
@return SLANG_OK if the target is available
@@ -3689,7 +3689,7 @@ struct IGlobalSession : public ISlangUnknown
3689
3689
* @param argc The number of command line arguments.
3690
3690
* @param argv An input array of command line arguments to parse.
3691
3691
* @param outSessionDesc A pointer to a SessionDesc struct to receive parsed session desc.
3692
- * @param outAuxAllocation Auxillary memory allocated to hold data used in the sesion desc.
3692
+ * @param outAuxAllocation Auxiliary memory allocated to hold data used in the session desc.
3693
3693
*/
3694
3694
virtual SLANG_NO_THROW SlangResult SLANG_MCALL parseCommandLineArguments (
3695
3695
int argc,
@@ -3815,7 +3815,7 @@ information.
3815
3815
3816
3816
In order to be able to load code, the session owns a set
3817
3817
of active "search paths" for resolving `#include` directives
3818
- and `import` declrations , as well as a set of global
3818
+ and `import` declarations , as well as a set of global
3819
3819
preprocessor definitions that will be used for all code
3820
3820
that gets `import`ed in the session.
3821
3821
@@ -3880,7 +3880,7 @@ struct ISession : public ISlangUnknown
3880
3880
function will return null.
3881
3881
3882
3882
It is an error to create a composite component type that recursively
3883
- aggregates the a single module more than once.
3883
+ aggregates a single module more than once.
3884
3884
*/
3885
3885
virtual SLANG_NO_THROW SlangResult SLANG_MCALL createCompositeComponentType (
3886
3886
IComponentType* const * componentTypes,
@@ -3953,7 +3953,7 @@ struct ISession : public ISlangUnknown
3953
3953
to explicitly specify which implementation types should be included in the final compiled
3954
3954
code. For example, if an module defines `IMaterial` interface and `AMaterial`,
3955
3955
`BMaterial`, `CMaterial` types that implements the interface, the user can exclude
3956
- `CMaterial` implementation from the resulting shader code by explcitly adding
3956
+ `CMaterial` implementation from the resulting shader code by explicitly adding
3957
3957
`AMaterial:IMaterial` and `BMaterial:IMaterial` conformances to a composite
3958
3958
`IComponentType` and get entry point code from it. The resulting code will not have
3959
3959
anything related to `CMaterial` in the dynamic dispatch logic. If the user does not
@@ -4006,7 +4006,7 @@ struct IMetadata : public ISlangCastable
4006
4006
SLANG_COM_INTERFACE (0x8044a8a3 , 0xddc0 , 0x4b7f , {0xaf , 0x8e , 0x2 , 0x6e , 0x90 , 0x5d , 0x73 , 0x32 })
4007
4007
4008
4008
/*
4009
- Returns whether a resource parameter at the specifieid binding location is actually being used
4009
+ Returns whether a resource parameter at the specified binding location is actually being used
4010
4010
in the compiled shader.
4011
4011
*/
4012
4012
virtual SlangResult isParameterLocationUsed (
@@ -4136,7 +4136,7 @@ struct IComponentType : public ISlangUnknown
4136
4136
4137
4137
Has the same requirements as getEntryPointCode.
4138
4138
4139
- The result is not written to the actual OS file system, but is made avaiable as an
4139
+ The result is not written to the actual OS file system, but is made available as an
4140
4140
in memory representation.
4141
4141
*/
4142
4142
virtual SLANG_NO_THROW SlangResult SLANG_MCALL getResultAsFileSystem (
@@ -4166,7 +4166,7 @@ struct IComponentType : public ISlangUnknown
4166
4166
IComponentType** outSpecializedComponentType,
4167
4167
ISlangBlob** outDiagnostics = nullptr ) = 0 ;
4168
4168
4169
- /* * Link this component type against all of its unsatisifed dependencies.
4169
+ /* * Link this component type against all of its unsatisfied dependencies.
4170
4170
4171
4171
A component type may have unsatisfied dependencies. For example, a module
4172
4172
depends on any other modules it `import`s, and an entry point depends
@@ -4179,7 +4179,7 @@ struct IComponentType : public ISlangUnknown
4179
4179
It is an error to try to generate/access compiled kernel code for
4180
4180
a component type with unresolved dependencies, so if dependencies
4181
4181
remain after whatever manual composition steps an application
4182
- cares to peform , the `link()` function can be used to automatically
4182
+ cares to perform , the `link()` function can be used to automatically
4183
4183
compose in any remaining dependencies. The order of parameters
4184
4184
(and hence the global layout) that results will be deterministic,
4185
4185
but is not currently documented.
0 commit comments