diff options
author | Campbell Barton <campbell@blender.org> | 2022-10-19 09:02:40 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-10-19 13:32:12 +0300 |
commit | d4b8e9b69fccf96a3c8035418a9fc1f00f43dee1 (patch) | |
tree | 886875979d644cbe709ab612bec861bb4b38b352 | |
parent | b51763a773009d887460bac14e9f7b65cbf54e5b (diff) |
Cleanup: format
-rw-r--r-- | source/blender/gpu/metal/mtl_batch.mm | 6 |
1 files changed, 4 insertions, 2 deletions
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()) { |