From e26b7c49f12eb84f76b805848222a383d60b48e2 Mon Sep 17 00:00:00 2001 From: assiduous Date: Mon, 2 Oct 2023 22:40:35 -0700 Subject: [PATCH] Fixed a few spelling issues --- Common/interface/StringTools.hpp | 2 +- Graphics/Archiver/interface/Archiver.h | 6 +++--- Graphics/GraphicsEngine/interface/ShaderResourceVariable.h | 2 +- Graphics/GraphicsEngineD3D12/src/DeviceContextD3D12Impl.cpp | 2 +- .../src/PipelineResourceSignatureD3D12Impl.cpp | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Common/interface/StringTools.hpp b/Common/interface/StringTools.hpp index f2adcfd67..90dd3ea8c 100644 --- a/Common/interface/StringTools.hpp +++ b/Common/interface/StringTools.hpp @@ -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 void SplitLongString(IterType Start, IterType End, size_t MaxChunkLen, size_t NewLineSearchLen, HandlerType&& Handler) { diff --git a/Graphics/Archiver/interface/Archiver.h b/Graphics/Archiver/interface/Archiver.h index 2009d2b8b..120c844a3 100644 --- a/Graphics/Archiver/interface/Archiver.h +++ b/Graphics/Archiver/interface/Archiver.h @@ -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; @@ -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; @@ -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; }; diff --git a/Graphics/GraphicsEngine/interface/ShaderResourceVariable.h b/Graphics/GraphicsEngine/interface/ShaderResourceVariable.h index 3dd946ad9..42f231d0d 100644 --- a/Graphics/GraphicsEngine/interface/ShaderResourceVariable.h +++ b/Graphics/GraphicsEngine/interface/ShaderResourceVariable.h @@ -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 diff --git a/Graphics/GraphicsEngineD3D12/src/DeviceContextD3D12Impl.cpp b/Graphics/GraphicsEngineD3D12/src/DeviceContextD3D12Impl.cpp index 79e478dd8..db397e22a 100644 --- a/Graphics/GraphicsEngineD3D12/src/DeviceContextD3D12Impl.cpp +++ b/Graphics/GraphicsEngineD3D12/src/DeviceContextD3D12Impl.cpp @@ -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]; diff --git a/Graphics/GraphicsEngineD3D12/src/PipelineResourceSignatureD3D12Impl.cpp b/Graphics/GraphicsEngineD3D12/src/PipelineResourceSignatureD3D12Impl.cpp index cf68f45ac..bcb907be2 100644 --- a/Graphics/GraphicsEngineD3D12/src/PipelineResourceSignatureD3D12Impl.cpp +++ b/Graphics/GraphicsEngineD3D12/src/PipelineResourceSignatureD3D12Impl.cpp @@ -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);