[Bf-blender-cvs] [d4b8e9b69fc] master: Cleanup: format
Campbell Barton
noreply at git.blender.org
Wed Oct 19 12:37:25 CEST 2022
Commit: d4b8e9b69fccf96a3c8035418a9fc1f00f43dee1
Author: Campbell Barton
Date: Wed Oct 19 17:02:40 2022 +1100
Branches: master
https://developer.blender.org/rBd4b8e9b69fccf96a3c8035418a9fc1f00f43dee1
Cleanup: format
===================================================================
M source/blender/gpu/metal/mtl_batch.mm
===================================================================
diff --git a/source/blender/gpu/metal/mtl_batch.mm b/source/blender/gpu/metal/mtl_batch.mm
index 0d9a3225a51..988fb9b793b 100644
--- a/source/blender/gpu/metal/mtl_batch.mm
+++ b/source/blender/gpu/metal/mtl_batch.mm
@@ -595,8 +595,10 @@ void MTLBatch::prepare_vertex_descriptor_and_bindings(
desc.reset_vertex_descriptor();
/* Fetch Vertex and Instance Buffers. */
- Span<MTLVertBuf *> mtl_verts(reinterpret_cast<MTLVertBuf **>(this->verts), GPU_BATCH_VBO_MAX_LEN);
- Span<MTLVertBuf *> mtl_inst(reinterpret_cast<MTLVertBuf **>(this->inst), GPU_BATCH_INST_VBO_MAX_LEN);
+ Span<MTLVertBuf *> mtl_verts(reinterpret_cast<MTLVertBuf **>(this->verts),
+ GPU_BATCH_VBO_MAX_LEN);
+ Span<MTLVertBuf *> mtl_inst(reinterpret_cast<MTLVertBuf **>(this->inst),
+ GPU_BATCH_INST_VBO_MAX_LEN);
/* SSBO Vertex fetch also passes vertex descriptor information into the shader. */
if (active_shader_->get_uses_ssbo_vertex_fetch()) {
More information about the Bf-blender-cvs
mailing list