Skip to content

Commit

Permalink
Fixed a few spelling issues
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMostDiligent committed Oct 3, 2023
1 parent f671cf8 commit e26b7c4
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Common/interface/StringTools.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ inline size_t CountFloatNumberChars(const char* Str)
/// For each chunk, calls the Handler.
///
/// \note This function is used to split long messages on Android to avoid
/// trunction in logcat.
/// truncation in logcat.
template <typename IterType, typename HandlerType>
void SplitLongString(IterType Start, IterType End, size_t MaxChunkLen, size_t NewLineSearchLen, HandlerType&& Handler)
{
Expand Down
6 changes: 3 additions & 3 deletions Graphics/Archiver/interface/Archiver.h
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ DILIGENT_BEGIN_INTERFACE(IArchiver, IObject)
/// \return A pointer to the shader object, or null if the object with that name was not added.
///
/// \ note The method does *not* increment the reference counter of the returned object,
/// so the application must not call Release() unless it also explcitily calls AddRef().
/// so the application must not call Release() unless it also explicitly calls AddRef().
VIRTUAL IShader* METHOD(GetShader)(THIS_
const char* ShaderName) PURE;

Expand All @@ -175,7 +175,7 @@ DILIGENT_BEGIN_INTERFACE(IArchiver, IObject)
/// \return A pointer to the pipeline state object, or null if the object with that name was not added.
///
/// \ note The method does *not* increment the reference counter of the returned object,
/// so the application must not call Release() unless it also explcitily calls AddRef().
/// so the application must not call Release() unless it also explicitly calls AddRef().
VIRTUAL IPipelineState* METHOD(GetPipelineState)(THIS_
PIPELINE_TYPE PSOType,
const char* PSOName) PURE;
Expand All @@ -186,7 +186,7 @@ DILIGENT_BEGIN_INTERFACE(IArchiver, IObject)
/// \return A pointer to the the pipeline resource signature object, or null if the object with that name was not added.
///
/// \ note The method does *not* increment the reference counter of the returned object,
/// so the application must not call Release() unless it also explcitily calls AddRef().
/// so the application must not call Release() unless it also explicitly calls AddRef().
VIRTUAL IPipelineResourceSignature* METHOD(GetPipelineResourceSignature)(THIS_
const char* PRSName) PURE;
};
Expand Down
2 changes: 1 addition & 1 deletion Graphics/GraphicsEngine/interface/ShaderResourceVariable.h
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ DILIGENT_TYPED_ENUM(SET_SHADER_RESOURCE_FLAGS, Uint32)
///
/// When overwriting a mutable variable binding in Direct3D12 and Vulkan,
/// an application must ensure that the GPU is not accessing the SRB.
/// This can be achieved using syncrhonization tools such as fences.
/// This can be achieved using synchronization tools such as fences.
/// Synchronization with GPU is not required in OpenGL, Direct3D11,
/// and Metal backends.
SET_SHADER_RESOURCE_FLAG_ALLOW_OVERWRITE = 1u << 0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1372,7 +1372,7 @@ void DeviceContextD3D12Impl::CommitSubpassRenderTargets()
const auto& Subpass = RPDesc.pSubpasses[m_SubpassIndex];
VERIFY(Subpass.RenderTargetAttachmentCount == m_NumBoundRenderTargets,
"The number of currently bound render targets (", m_NumBoundRenderTargets,
") is not consistent with the number of redner target attachments (", Subpass.RenderTargetAttachmentCount,
") is not consistent with the number of render target attachments (", Subpass.RenderTargetAttachmentCount,
") in current subpass");

D3D12_RENDER_PASS_RENDER_TARGET_DESC RenderPassRTs[MAX_RENDER_TARGETS];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ void PipelineResourceSignatureD3D12Impl::AllocateRootParameters(const bool IsSer
DEV_CHECK_ERR(pAttrib->IsImmutableSamplerAssigned() == (SrcImmutableSamplerInd != InvalidImmutableSamplerIndex),
"Deserialized immutable sampler flag is invalid");
DEV_CHECK_ERR(pAttrib->GetD3D12RootParamType() == d3d12RootParamType,
"Deserailized root parameter type is invalid.");
"Deserialized root parameter type is invalid.");
}
}
ParamsBuilder.InitializeMgr(GetRawAllocator(), m_RootParams);
Expand Down

0 comments on commit e26b7c4

Please sign in to comment.