diff options
| author | JMC47 <JMC4789@gmail.com> | 2026-01-17 19:10:50 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-01-17 19:10:50 -0500 |
| commit | 035bcffc63ecc803abeb6987f66a5b2f78f5f0bc (patch) | |
| tree | b46f7ec3d376fc2fef5ac0d2f48769b0e23e9353 /Source/Core/VideoBackends | |
| parent | d098f2bba9fac19d90526fb9f7aceb0bb405b4b4 (diff) | |
| parent | 1e0473e44f5e21558d75b0121bd935bb50825c26 (diff) | |
Merge pull request #14289 from Sintendo/typos
Fix various typos and spelling mistakes
Diffstat (limited to 'Source/Core/VideoBackends')
| -rw-r--r-- | Source/Core/VideoBackends/D3D12/DX12Texture.h | 2 | ||||
| -rw-r--r-- | Source/Core/VideoBackends/D3DCommon/SwapChain.cpp | 2 | ||||
| -rw-r--r-- | Source/Core/VideoBackends/Metal/MTLStateTracker.mm | 2 | ||||
| -rw-r--r-- | Source/Core/VideoBackends/OGL/OGLConfig.cpp | 2 | ||||
| -rw-r--r-- | Source/Core/VideoBackends/OGL/OGLMain.cpp | 2 | ||||
| -rw-r--r-- | Source/Core/VideoBackends/OGL/OGLStreamBuffer.cpp | 2 | ||||
| -rw-r--r-- | Source/Core/VideoBackends/Software/SWGfx.cpp | 2 | ||||
| -rw-r--r-- | Source/Core/VideoBackends/Vulkan/CommandBufferManager.h | 2 | ||||
| -rw-r--r-- | Source/Core/VideoBackends/Vulkan/StateTracker.h | 2 |
9 files changed, 9 insertions, 9 deletions
diff --git a/Source/Core/VideoBackends/D3D12/DX12Texture.h b/Source/Core/VideoBackends/D3D12/DX12Texture.h index 14bf55415b..e31a78d4b9 100644 --- a/Source/Core/VideoBackends/D3D12/DX12Texture.h +++ b/Source/Core/VideoBackends/D3D12/DX12Texture.h @@ -43,7 +43,7 @@ public: void TransitionToState(D3D12_RESOURCE_STATES state) const; - // Destoys the resource backing this texture. The resource must not be in use by the GPU. + // Destroys the resource backing this texture. The resource must not be in use by the GPU. void DestroyResource(); private: diff --git a/Source/Core/VideoBackends/D3DCommon/SwapChain.cpp b/Source/Core/VideoBackends/D3DCommon/SwapChain.cpp index ff40ad4180..1c91275a52 100644 --- a/Source/Core/VideoBackends/D3DCommon/SwapChain.cpp +++ b/Source/Core/VideoBackends/D3DCommon/SwapChain.cpp @@ -316,7 +316,7 @@ bool SwapChain::ChangeSurface(void* native_handle) { DestroySwapChain(); m_wsi.render_surface = native_handle; - // We only keep the swap chain settings (HDR/Stereo) that had successfully applied beofre + // We only keep the swap chain settings (HDR/Stereo) that had successfully applied before return CreateSwapChain(m_stereo, m_hdr); } diff --git a/Source/Core/VideoBackends/Metal/MTLStateTracker.mm b/Source/Core/VideoBackends/Metal/MTLStateTracker.mm index 755da35249..f4d5634636 100644 --- a/Source/Core/VideoBackends/Metal/MTLStateTracker.mm +++ b/Source/Core/VideoBackends/Metal/MTLStateTracker.mm @@ -891,7 +891,7 @@ void Metal::StateTracker::PrepareCompute() { m_dirty_textures &= ~pipe->GetTextures(); // Since there's two sets of textures, it's likely there'll be a few in each - // Check each set separately to avoid doing too many unneccessary bindings + // Check each set separately to avoid doing too many unnecessary bindings constexpr u32 lo_mask = (1 << VideoCommon::MAX_COMPUTE_SHADER_SAMPLERS) - 1; if (u32 lo = dirty & lo_mask) { diff --git a/Source/Core/VideoBackends/OGL/OGLConfig.cpp b/Source/Core/VideoBackends/OGL/OGLConfig.cpp index 1da407e664..b24481f790 100644 --- a/Source/Core/VideoBackends/OGL/OGLConfig.cpp +++ b/Source/Core/VideoBackends/OGL/OGLConfig.cpp @@ -274,7 +274,7 @@ bool PopulateConfig(GLContext* m_main_gl_context) if (!GLExtensions::Supports("GL_ARB_sampler_objects")) { - // Our sampler cache uses this extension. It could easyly be workaround and it's by far the + // Our sampler cache uses this extension. It could easily be workaround and it's by far the // highest requirement, but it seems that no driver lacks support for it. PanicAlertFmtT("GPU: OGL ERROR: Need GL_ARB_sampler_objects.\n" "GPU: Does your video card support OpenGL 3.3?"); diff --git a/Source/Core/VideoBackends/OGL/OGLMain.cpp b/Source/Core/VideoBackends/OGL/OGLMain.cpp index e47eaaf940..e53999112b 100644 --- a/Source/Core/VideoBackends/OGL/OGLMain.cpp +++ b/Source/Core/VideoBackends/OGL/OGLMain.cpp @@ -133,7 +133,7 @@ bool VideoBackend::FillBackendInfo(GLContext* context) g_backend_info.bSupportsPipelineCacheData = false; g_backend_info.bSupportsLodBiasInSampler = true; g_backend_info.bSupportsPartialMultisampleResolve = true; - // Unneccessary since OGL doesn't use pipelines + // Unnecessary since OGL doesn't use pipelines g_backend_info.bSupportsDynamicVertexLoader = false; // TODO: There is a bug here, if texel buffers or SSBOs/atomics are not supported the graphics diff --git a/Source/Core/VideoBackends/OGL/OGLStreamBuffer.cpp b/Source/Core/VideoBackends/OGL/OGLStreamBuffer.cpp index 1a14833f28..a0e18d7287 100644 --- a/Source/Core/VideoBackends/OGL/OGLStreamBuffer.cpp +++ b/Source/Core/VideoBackends/OGL/OGLStreamBuffer.cpp @@ -42,7 +42,7 @@ StreamBuffer::~StreamBuffer() * The next three functions are to create/delete/use the OpenGL synchronization. * ARB_sync (OpenGL 3.2) is used and required. * - * To reduce overhead, the complete buffer is splitted up into SYNC_POINTS chunks. + * To reduce overhead, the complete buffer is split up into SYNC_POINTS chunks. * For each of this chunks, there is a fence which checks if this chunk is still in use. * * As our API allows to alloc more memory then it has to use, we have to catch how much is already diff --git a/Source/Core/VideoBackends/Software/SWGfx.cpp b/Source/Core/VideoBackends/Software/SWGfx.cpp index fba9faf7e5..ed152aef95 100644 --- a/Source/Core/VideoBackends/Software/SWGfx.cpp +++ b/Source/Core/VideoBackends/Software/SWGfx.cpp @@ -129,7 +129,7 @@ void SWGfx::SetScissorRect(const MathUtil::Rectangle<int>& rc) { // BPFunctions calls SetScissorRect with the "best" scissor rect whenever the viewport or scissor // changes. However, the software renderer is actually able to use multiple scissor rects (which - // is necessary in a few renderering edge cases, such as with Major Minor's Majestic March). + // is necessary in a few rendering edge cases, such as with Major Minor's Majestic March). // Thus, we use this as a signal to update the list of scissor rects, but ignore the parameter. Rasterizer::ScissorChanged(); } diff --git a/Source/Core/VideoBackends/Vulkan/CommandBufferManager.h b/Source/Core/VideoBackends/Vulkan/CommandBufferManager.h index 90e62bb805..45a322c270 100644 --- a/Source/Core/VideoBackends/Vulkan/CommandBufferManager.h +++ b/Source/Core/VideoBackends/Vulkan/CommandBufferManager.h @@ -42,7 +42,7 @@ public: // Fence "counters" are used to track which commands have been completed by the GPU. // If the last completed fence counter is greater or equal to N, it means that the work // associated counter N has been completed by the GPU. The value of N to associate with - // commands can be retreived by calling GetCurrentFenceCounter(). + // commands can be retrieved by calling GetCurrentFenceCounter(). u64 GetCompletedFenceCounter() const { return m_completed_fence_counter; } // Gets the fence that will be signaled when the currently executing command buffer is diff --git a/Source/Core/VideoBackends/Vulkan/StateTracker.h b/Source/Core/VideoBackends/Vulkan/StateTracker.h index 8de5fd54cc..da0e4d8387 100644 --- a/Source/Core/VideoBackends/Vulkan/StateTracker.h +++ b/Source/Core/VideoBackends/Vulkan/StateTracker.h @@ -66,7 +66,7 @@ public: void SetViewport(const VkViewport& viewport); void SetScissor(const VkRect2D& scissor); - // Binds all dirty state to the commmand buffer. + // Binds all dirty state to the command buffer. // If this returns false, you should not issue the draw. bool Bind(); |
