Skip to content

Commit

Permalink
correct comment
Browse files Browse the repository at this point in the history
  • Loading branch information
SamoZ256 committed Aug 14, 2024
1 parent bba2bbc commit 13834ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Cafe/HW/Latte/Renderer/Metal/MetalMemoryManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 13834ca

Please sign in to comment.