correct comment

This commit is contained in:
Samuliak 2024-08-14 07:59:22 +02:00
parent bba2bbcefb
commit 13834ca9cb

View File

@ -117,7 +117,7 @@ MetalRestridedBufferRange MetalVertexBufferCache::RestrideBufferIfNeeded(MTL::Bu
renderCommandEncoder->drawPrimitives(MTL::PrimitiveTypePoint, NS::UInteger(0), vertexBufferRange.size / stride);
// TODO: restride in one call?
// TODO: do the barrier in one call?
MTL::Resource* barrierBuffers[] = {buffer};
renderCommandEncoder->memoryBarrier(barrierBuffers, 1, MTL::RenderStageVertex, MTL::RenderStageVertex);
}