andy-thomason / Vookoo

A set of utilities for taking the pain out of Vulkan in header only modern C++
MIT License
524 stars 52 forks source link

vku::IndexBuffer: added vk::BufferUsageFlagBits::eTransferDst to fix validation error #40

Closed mvd4 closed 3 years ago

mvd4 commented 3 years ago

Sorry, just occurred to me that IndexBuffer might have the same issue (only used HostIndexBuffer so far.

So, same situation: missing flag vk::BufferUsageFlagBits::eTransferDst causes validation error when uploading data.