Cleanup: format
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
void main()
|
||||
{
|
||||
fragColor = color;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1288,7 +1288,10 @@ void SCULPT_orig_vert_data_unode_init(SculptOrigVertData *data, Object *ob, Scul
|
||||
}
|
||||
}
|
||||
|
||||
void SCULPT_orig_vert_data_init(SculptOrigVertData *data, Object *ob, PBVHNode *node, SculptUndoType type)
|
||||
void SCULPT_orig_vert_data_init(SculptOrigVertData *data,
|
||||
Object *ob,
|
||||
PBVHNode *node,
|
||||
SculptUndoType type)
|
||||
{
|
||||
SculptUndoNode *unode;
|
||||
unode = SCULPT_undo_push_node(ob, node, type);
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user