Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorluzpaz <luzpaz>2022-06-28 16:35:35 +0300
committerBrecht Van Lommel <brecht@blender.org>2022-06-28 16:56:16 +0300
commit4d982cbb5d950f10493fa911a4955fd4a2e65589 (patch)
treec6b536071f884458a7a059a73ce45fa040e0ce19 /source/blender/gpu/metal
parent0124de9d0e5fda3c1aafc0650bc6cd31618dbbb7 (diff)
Cleanup: fix various typos
Differential Revision: https://developer.blender.org/D15304
Diffstat (limited to 'source/blender/gpu/metal')
-rw-r--r--source/blender/gpu/metal/mtl_command_buffer.mm4
-rw-r--r--source/blender/gpu/metal/mtl_context.mm2
2 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/gpu/metal/mtl_command_buffer.mm b/source/blender/gpu/metal/mtl_command_buffer.mm
index 392e07b7ee8..375295e589e 100644
--- a/source/blender/gpu/metal/mtl_command_buffer.mm
+++ b/source/blender/gpu/metal/mtl_command_buffer.mm
@@ -21,7 +21,7 @@ namespace blender::gpu {
id<MTLEvent> MTLCommandBufferManager::sync_event = nil;
unsigned long long MTLCommandBufferManager::event_signal_val = 0;
-/* Counter for active comand buffers. */
+/* Counter for active command buffers. */
int MTLCommandBufferManager::num_active_cmd_bufs = 0;
/* -------------------------------------------------------------------- */
@@ -121,7 +121,7 @@ bool MTLCommandBufferManager::submit(bool wait)
[active_command_buffer_ waitUntilCompleted];
/* Command buffer execution debugging can return an error message if
- * execution has failed or encoutered GPU-side errors. */
+ * execution has failed or encountered GPU-side errors. */
if (G.debug & G_DEBUG_GPU) {
NSError *error = [active_command_buffer_ error];
diff --git a/source/blender/gpu/metal/mtl_context.mm b/source/blender/gpu/metal/mtl_context.mm
index 4a76bab11b8..d4e25defecf 100644
--- a/source/blender/gpu/metal/mtl_context.mm
+++ b/source/blender/gpu/metal/mtl_context.mm
@@ -124,7 +124,7 @@ void MTLContext::end_frame()
{
BLI_assert(is_inside_frame_);
- /* Ensure pre-present work is commited. */
+ /* Ensure pre-present work is committed. */
this->flush();
/* Increment frame counter. */