diff options
author | Campbell Barton <campbell@blender.org> | 2022-09-15 03:03:46 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-09-15 03:03:46 +0300 |
commit | 4bbb043bc57f1dc27aa46624cd4d11b063070bac (patch) | |
tree | ad4e24ed3eb5d45f8ace737668f02b0b46de863f /source/blender/gpu | |
parent | 5cd08e373b5b37223222ae6a68cfe970839e7800 (diff) |
Cleanup: spelling in comments, comment blocks
Diffstat (limited to 'source/blender/gpu')
-rw-r--r-- | source/blender/gpu/metal/mtl_context.mm | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/gpu/metal/mtl_context.mm b/source/blender/gpu/metal/mtl_context.mm index a66645e5fb5..1302cf0dabd 100644 --- a/source/blender/gpu/metal/mtl_context.mm +++ b/source/blender/gpu/metal/mtl_context.mm @@ -201,8 +201,9 @@ id<MTLRenderCommandEncoder> MTLContext::ensure_begin_render_pass() /* Ensure command buffer workload submissions are optimal -- * 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()*/) { + if (this->main_command_buffer.do_break_submission() + // && !((MTLImmediate *)(this->imm))->imm_is_recording() + ) { this->flush(); } |