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 // We use this header to include vk_mem_alloc.h to make sure we always include GrVkDefines.h first.
9 // We need to do this so that the corect defines are setup before we include vulkan.h inside of
10 // vk_mem_alloc.h
11 
12 #ifndef GrVulkanMemoryAllocator_DEFINED
13 #define GrVulkanMemoryAllocator_DEFINED
14 
15 // We only ever include this from src files which have already included vulkan.
16 #ifndef VULKAN_CORE_H_
17 #error "vulkan_core.h has not been included before trying to include the GrVulkanMemoryAllocator"
18 #endif
19 #include "include/vk_mem_alloc.h"
20 
21 #endif
22