framework update 4/29/2020
This commit is contained in:
parent
21fc655237
commit
60103dd1ce
62 changed files with 2931 additions and 2743 deletions
|
|
@ -1,24 +1,6 @@
|
|||
|
||||
//#define ALLOC_DEDICATED
|
||||
#define ALLOC_DMA
|
||||
//#define ALLOC_VMA
|
||||
//#define NVVK_ALLOC_DEDICATED
|
||||
#define NVVK_ALLOC_DMA
|
||||
//#define NVVK_ALLOC_VMA
|
||||
|
||||
#if defined(ALLOC_DEDICATED)
|
||||
#include "nvvkpp/allocator_dedicated_vkpp.hpp"
|
||||
using nvvkBuffer = nvvkpp::BufferDedicated;
|
||||
using nvvkTexture = nvvkpp::TextureDedicated;
|
||||
using nvvkAllocator = nvvkpp::AllocatorDedicated;
|
||||
#elif defined(ALLOC_DMA)
|
||||
#include "nvvkpp/allocator_dma_vkpp.hpp"
|
||||
using nvvkBuffer = nvvkpp::BufferDma;
|
||||
using nvvkTexture = nvvkpp::TextureDma;
|
||||
using nvvkAllocator = nvvkpp::AllocatorDma;
|
||||
using nvvkMemAllocator = nvvk::DeviceMemoryAllocator;
|
||||
|
||||
#elif defined(ALLOC_VMA)
|
||||
#include "nvvkpp/allocator_vma_vkpp.hpp"
|
||||
using nvvkBuffer = nvvkpp::BufferVma;
|
||||
using nvvkTexture = nvvkpp::TextureVma;
|
||||
using nvvkAllocator = nvvkpp::AllocatorVma;
|
||||
using nvvkMemAllocator = VmaAllocator;
|
||||
#endif
|
||||
#include <nvvk/allocator_vk.hpp>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue