Index: src/gpu/vk/GrVkCommandBuffer.h |
diff --git a/src/gpu/vk/GrVkCommandBuffer.h b/src/gpu/vk/GrVkCommandBuffer.h |
index 8020c7db142c9dfd8d357f52c50b3df98e045ddc..9864ec02fec4eefcd201b556a8aa52c40288c827 100644 |
--- a/src/gpu/vk/GrVkCommandBuffer.h |
+++ b/src/gpu/vk/GrVkCommandBuffer.h |
@@ -41,8 +41,6 @@ |
void bindVertexBuffer(GrVkGpu* gpu, GrVkVertexBuffer* vbuffer) { |
VkBuffer vkBuffer = vbuffer->buffer(); |
- // TODO: once vbuffer->offset() no longer always returns 0, we will need to track the offset |
- // to know if we can skip binding or not. |
if (!fBoundVertexBufferIsValid || vkBuffer != fBoundVertexBuffer) { |
VkDeviceSize offset = vbuffer->offset(); |
GR_VK_CALL(gpu->vkInterface(), CmdBindVertexBuffers(fCmdBuffer, |
@@ -58,8 +56,6 @@ |
void bindIndexBuffer(GrVkGpu* gpu, GrVkIndexBuffer* ibuffer) { |
VkBuffer vkBuffer = ibuffer->buffer(); |
- // TODO: once ibuffer->offset() no longer always returns 0, we will need to track the offset |
- // to know if we can skip binding or not. |
if (!fBoundIndexBufferIsValid || vkBuffer != fBoundIndexBuffer) { |
GR_VK_CALL(gpu->vkInterface(), CmdBindIndexBuffer(fCmdBuffer, |
vkBuffer, |