Greg Daniel | 18dbfd0 | 2018-05-29 10:46:51 -0400 | [diff] [blame] | 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 | #include "../../include/gpu/vk/GrVkDefines.h" |
| 16 | #include "include/vk_mem_alloc.h" |
| 17 | |
| 18 | #endif |