diff options
author | Campbell Barton <campbell@blender.org> | 2022-09-06 09:25:20 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-09-06 09:25:20 +0300 |
commit | 6c6a53fad357ad63d8128c33da7a84f172ef0b63 (patch) | |
tree | 0ab3290bbc010af86719bec5a7bd37de75997d37 /source/blender/gpu/metal/mtl_context.mm | |
parent | 077ba5ac386f3cc75a67e01cdd75239b76c34de5 (diff) |
Cleanup: spelling in comments, formatting, move comments into headers
Diffstat (limited to 'source/blender/gpu/metal/mtl_context.mm')
-rw-r--r-- | source/blender/gpu/metal/mtl_context.mm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/gpu/metal/mtl_context.mm b/source/blender/gpu/metal/mtl_context.mm index f14236bcb58..a66645e5fb5 100644 --- a/source/blender/gpu/metal/mtl_context.mm +++ b/source/blender/gpu/metal/mtl_context.mm @@ -32,7 +32,7 @@ MTLContext::MTLContext(void *ghost_window) : memory_manager(*this), main_command debug::mtl_debug_init(); /* Device creation. - * TODO(Metal): This is a temporary initialisation path to enable testing of features + * TODO(Metal): This is a temporary initialization path to enable testing of features * and shader compilation tests. Future functionality should fetch the existing device * from GHOST_ContextCGL.mm. Plumbing to be updated in future. */ this->device = MTLCreateSystemDefaultDevice(); @@ -40,7 +40,7 @@ MTLContext::MTLContext(void *ghost_window) : memory_manager(*this), main_command /* Initialize command buffer state. */ this->main_command_buffer.prepare(); - /* Initialise imm and pipeline state */ + /* Initialize IMM and pipeline state */ this->pipeline_state.initialised = false; /* Frame management. */ @@ -199,7 +199,7 @@ id<MTLRenderCommandEncoder> MTLContext::ensure_begin_render_pass() } /* Ensure command buffer workload submissions are optimal -- - * Though do not split a batch mid-IMM recording */ + * Though do not split a batch mid-IMM recording. */ /* TODO(Metal): Add IMM Check once MTLImmediate has been implemented. */ if (this->main_command_buffer.do_break_submission()/*&& !((MTLImmediate *)(this->imm))->imm_is_recording()*/) { |