diff options
author | Jason Ekstrand <[email protected]> | 2015-08-27 11:41:04 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2015-08-27 11:41:04 -0700 |
commit | 2a8d1ac9585aa56e045a178968af54b3d3600533 (patch) | |
tree | 43358dcfab8f91ab0219bef939301a12389dc4e9 /include | |
parent | 4e3ee043c0ab68faf5c853dd361e68974b55e8db (diff) |
vk: Update to API version 0.138.2
Diffstat (limited to 'include')
-rw-r--r-- | include/vulkan/vulkan.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/include/vulkan/vulkan.h b/include/vulkan/vulkan.h index 53038467da7..9877233bfeb 100644 --- a/include/vulkan/vulkan.h +++ b/include/vulkan/vulkan.h @@ -41,7 +41,7 @@ extern "C" { ((major << 22) | (minor << 12) | patch) // Vulkan API version supported by this file -#define VK_API_VERSION VK_MAKE_VERSION(0, 138, 1) +#define VK_API_VERSION VK_MAKE_VERSION(0, 138, 2) #define VK_DEFINE_HANDLE(obj) typedef struct obj##_T* obj; @@ -61,8 +61,8 @@ extern "C" { #endif #define VK_DEFINE_NONDISP_HANDLE(obj) \ struct obj { \ - obj() { } \ - obj(uint64_t x) { handle = x; } \ + obj() : handle(0) { } \ + obj(uint64_t x) : handle(x) { } \ obj& operator =(uint64_t x) { handle = x; return *this; } \ bool operator==(const obj& other) const { return handle == other.handle; } \ bool operator!=(const obj& other) const { return handle != other.handle; } \ @@ -1400,7 +1400,8 @@ typedef struct { } VkSparseImageMemoryRequirements; typedef struct { - VkDeviceSize offset; + VkDeviceSize rangeOffset; + VkDeviceSize rangeSize; VkDeviceSize memOffset; VkDeviceMemory mem; VkSparseMemoryBindFlags flags; @@ -1567,7 +1568,7 @@ typedef struct { typedef struct { uint32_t mapEntryCount; const VkSpecializationMapEntry* pMap; - const size_t dataSize; + size_t dataSize; const void* pData; } VkSpecializationInfo; |