1 /* 2 * Copyright 2018 Google Inc. 3 * 4 * Use of this source code is governed by a BSD-style license that can be 5 * found in the LICENSE file. 6 */ 7 8 // Workaround to make sure we align non-coherent memory to nonCoherentAtomSize. 9 #define VMA_DEBUG_ALIGNMENT 256 10 11 // We use our own functions pointers 12 #define VMA_STATIC_VULKAN_FUNCTIONS 0 13 14 #define VMA_IMPLEMENTATION 15 #include <vulkan/vulkan_core.h> 16 #include "GrVulkanMemoryAllocator.h" 17 18