From 3cf6516e7b917bd81d7147b57baafe2495c759f4 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 27 Jun 2022 20:27:34 +1000 Subject: Cleanup: format --- source/blender/gpu/metal/mtl_context.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/gpu/metal') diff --git a/source/blender/gpu/metal/mtl_context.mm b/source/blender/gpu/metal/mtl_context.mm index 64a44c6f718..4a76bab11b8 100644 --- a/source/blender/gpu/metal/mtl_context.mm +++ b/source/blender/gpu/metal/mtl_context.mm @@ -193,7 +193,7 @@ id 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()/*&& + if (this->main_command_buffer.do_break_submission()/*&& !((MTLImmediate *)(this->imm))->imm_is_recording()*/) { this->flush(); } -- cgit v1.2.3