VulkanTutorial icon indicating copy to clipboard operation
VulkanTutorial copied to clipboard

Index buffer section of the website has a typo.

Open RWJosh opened this issue 1 year ago • 0 comments

Hi Alexander,

I hope your work is going well.

I am just raising this issue to let you know that there is a typo in this sentence in the Index buffer section on the website (https://vulkan-tutorial.com/Vertex_buffers/Index_buffer):

"The second to last parameter specifies an offset to add to the indices in the index buffer. The final parameter specifies an offset for instancing, which we're not using.".

The second to last parameter is the vertex offset, not the index buffer offset: https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCmdDrawIndexed.html.

Thanks, Josh

RWJosh avatar Sep 20 '24 02:09 RWJosh