Fix: Vulkan: Incorrect enum value
When allocating uniform buffer an incorrect enum value was passed. Gladly both enums value were the same.
This commit is contained in:
@@ -35,7 +35,7 @@ void VKUniformBuffer::allocate()
|
||||
buffer_.create(size_in_bytes_,
|
||||
VK_BUFFER_USAGE_UNIFORM_BUFFER_BIT | VK_BUFFER_USAGE_STORAGE_BUFFER_BIT |
|
||||
VK_BUFFER_USAGE_TRANSFER_DST_BIT,
|
||||
VK_MEMORY_HEAP_DEVICE_LOCAL_BIT,
|
||||
VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT,
|
||||
VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT,
|
||||
VmaAllocationCreateFlags(0));
|
||||
debug::object_label(buffer_.vk_handle(), name_);
|
||||
|
||||
Reference in New Issue
Block a user