diff --git a/intern/cycles/device/metal/bvh.mm b/intern/cycles/device/metal/bvh.mm index 45780b4f166..6e753688c1b 100644 --- a/intern/cycles/device/metal/bvh.mm +++ b/intern/cycles/device/metal/bvh.mm @@ -976,7 +976,7 @@ bool BVHMetal::build_TLAS(Progress &progress, storage_mode = MTLResourceStorageModeShared; } - id nullBuf = [device newBufferWithLength:0 options:storage_mode]; + id nullBuf = [device newBufferWithLength:sizeof(float3) options:storage_mode]; /* Create an acceleration structure. */ MTLAccelerationStructureTriangleGeometryDescriptor *geomDesc =