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()) {
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
List details, subscription details or unsubscribe:
https://lists.blender.org/mailman/listinfo/bf-blender-cvs