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:
authorCampbell Barton <campbell@blender.org>2022-06-27 13:27:34 +0300
committerCampbell Barton <campbell@blender.org>2022-06-27 13:27:34 +0300
commit3cf6516e7b917bd81d7147b57baafe2495c759f4 (patch)
tree33da220c47c92b1d231e576dfc246dd424632498 /source/blender/gpu/metal
parent9130a60d3d833718c932d3f971b746ba253734bc (diff)
Cleanup: format
Diffstat (limited to 'source/blender/gpu/metal')
-rw-r--r--source/blender/gpu/metal/mtl_context.mm2
1 files changed, 1 insertions, 1 deletions
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<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()/*&&
+ if (this->main_command_buffer.do_break_submission()/*&&
!((MTLImmediate *)(this->imm))->imm_is_recording()*/) {
this->flush();
}