aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/vulkanmemoryallocator/GrVulkanMemoryAllocator.cpp
blob: 58884630c521339fde2fed576f563f689d13f741 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/*
 * Copyright 2018 Google Inc.
 *
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

// Workaround to make sure we align non-coherent memory to nonCoherentAtomSize.
#define VMA_DEBUG_ALIGNMENT 256

// We use our own functions pointers
#define VMA_STATIC_VULKAN_FUNCTIONS 0

#define VMA_IMPLEMENTATION
#include "GrVulkanMemoryAllocator.h"