((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;
#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; } \
} VkSparseImageMemoryRequirements;
typedef struct {
- VkDeviceSize offset;
+ VkDeviceSize rangeOffset;
+ VkDeviceSize rangeSize;
VkDeviceSize memOffset;
VkDeviceMemory mem;
VkSparseMemoryBindFlags flags;
typedef struct {
uint32_t mapEntryCount;
const VkSpecializationMapEntry* pMap;
- const size_t dataSize;
+ size_t dataSize;
const void* pData;
} VkSpecializationInfo;