Fix memory alignment on Nvidia cards

This commit is contained in:
Georg Hagen
2024-05-28 22:20:02 +02:00
parent 7dd16c66b9
commit bc0e117d83
3 changed files with 13 additions and 7 deletions

View File

@@ -117,7 +117,7 @@ namespace OpenVulkano
MemoryAllocation* CreateMemoryAllocation(size_t size, uint32_t type, bool addToCache = true);
MemoryAllocation* GetFreeMemoryAllocation(size_t size, uint32_t type, bool createIfAllFull = true);
MemoryAllocation* GetFreeMemoryAllocation(size_t size, size_t alignment, uint32_t type, bool createIfAllFull = true);
vk::DescriptorSetLayout* GetDescriptorLayoutSet(const DescriptorSetLayoutBinding& descriptorSetLayoutBinding);