diff options
author | Jason Ekstrand <[email protected]> | 2015-12-02 10:39:15 -0800 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2015-12-03 13:43:54 -0800 |
commit | e6ab06ae7f084ba0df4c4274e5de010a3a751cc2 (patch) | |
tree | 637e41e08bb8168880b6d2a772255e947e8b0e54 /include/vulkan/vulkan.h | |
parent | 93071482f98a1e36507c282d093483c534736ee1 (diff) |
vk/0.210.0: Rework memory property flags
Diffstat (limited to 'include/vulkan/vulkan.h')
-rw-r--r-- | include/vulkan/vulkan.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/include/vulkan/vulkan.h b/include/vulkan/vulkan.h index 22cdeab98a1..9b67a9952be 100644 --- a/include/vulkan/vulkan.h +++ b/include/vulkan/vulkan.h @@ -830,17 +830,16 @@ typedef enum VkQueueFlagBits { typedef VkFlags VkQueueFlags; typedef enum VkMemoryPropertyFlagBits { - VK_MEMORY_PROPERTY_DEVICE_ONLY = 0, - VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT = 0x00000001, - VK_MEMORY_PROPERTY_HOST_NON_COHERENT_BIT = 0x00000002, - VK_MEMORY_PROPERTY_HOST_UNCACHED_BIT = 0x00000004, - VK_MEMORY_PROPERTY_HOST_WRITE_COMBINED_BIT = 0x00000008, + VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT = 0x00000001, + VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT = 0x00000002, + VK_MEMORY_PROPERTY_HOST_COHERENT_BIT = 0x00000004, + VK_MEMORY_PROPERTY_HOST_CACHED_BIT = 0x00000008, VK_MEMORY_PROPERTY_LAZILY_ALLOCATED_BIT = 0x00000010, } VkMemoryPropertyFlagBits; typedef VkFlags VkMemoryPropertyFlags; typedef enum VkMemoryHeapFlagBits { - VK_MEMORY_HEAP_HOST_LOCAL_BIT = 0x00000001, + VK_MEMORY_HEAP_DEVICE_LOCAL_BIT = 0x00000001, } VkMemoryHeapFlagBits; typedef VkFlags VkMemoryHeapFlags; typedef VkFlags VkDeviceCreateFlags; |