diff options
author | Jason Ekstrand <[email protected]> | 2015-12-01 12:52:56 -0800 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2015-12-03 13:43:53 -0800 |
commit | 299f8f1511cfa2bfab77038ba28a90bcfc136a5d (patch) | |
tree | 67e52488e99500512716b3f3e33a98b29b9714d7 /include/vulkan | |
parent | 407b8cc5e0e0e0382b7a350480a7654fcb2a164f (diff) |
vk/0.210.0: More structure field renaming
Diffstat (limited to 'include/vulkan')
-rw-r--r-- | include/vulkan/vulkan.h | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/include/vulkan/vulkan.h b/include/vulkan/vulkan.h index cae02065ad1..cdf491cfba9 100644 --- a/include/vulkan/vulkan.h +++ b/include/vulkan/vulkan.h @@ -1172,7 +1172,7 @@ typedef struct VkExtent3D { typedef struct VkImageFormatProperties { VkExtent3D maxExtent; uint32_t maxMipLevels; - uint32_t maxArraySize; + uint32_t maxArrayLayers; VkSampleCountFlags sampleCounts; VkDeviceSize maxResourceSize; } VkImageFormatProperties; @@ -1363,7 +1363,7 @@ typedef struct { typedef struct VkMappedMemoryRange { VkStructureType sType; const void* pNext; - VkDeviceMemory mem; + VkDeviceMemory memory; VkDeviceSize offset; VkDeviceSize size; } VkMappedMemoryRange; @@ -1473,7 +1473,7 @@ typedef struct VkQueryPoolCreateInfo { const void* pNext; VkQueryPoolCreateFlags flags; VkQueryType queryType; - uint32_t slots; + uint32_t entryCount; VkQueryPipelineStatisticFlags pipelineStatistics; } VkQueryPoolCreateInfo; @@ -1484,7 +1484,7 @@ typedef struct VkBufferCreateInfo { VkDeviceSize size; VkBufferUsageFlags usage; VkSharingMode sharingMode; - uint32_t queueFamilyCount; + uint32_t queueFamilyIndexCount; const uint32_t* pQueueFamilyIndices; } VkBufferCreateInfo; @@ -1506,12 +1506,12 @@ typedef struct VkImageCreateInfo { VkFormat format; VkExtent3D extent; uint32_t mipLevels; - uint32_t arraySize; + uint32_t arrayLayers; uint32_t samples; VkImageTiling tiling; VkImageUsageFlags usage; VkSharingMode sharingMode; - uint32_t queueFamilyCount; + uint32_t queueFamilyIndexCount; const uint32_t* pQueueFamilyIndices; VkImageLayout initialLayout; } VkImageCreateInfo; @@ -1533,9 +1533,9 @@ typedef struct VkComponentMapping { typedef struct VkImageSubresourceRange { VkImageAspectFlags aspectMask; uint32_t baseMipLevel; - uint32_t mipLevels; + uint32_t levelCount; uint32_t baseArrayLayer; - uint32_t arraySize; + uint32_t layerCount; } VkImageSubresourceRange; typedef struct VkImageViewCreateInfo { @@ -1570,9 +1570,8 @@ typedef struct VkPipelineCacheCreateInfo { VkStructureType sType; const void* pNext; VkPipelineCacheCreateFlags flags; - size_t initialSize; - const void* initialData; - size_t maxSize; + size_t initialDataSize; + const void* pInitialData; } VkPipelineCacheCreateInfo; typedef struct VkSpecializationMapEntry { @@ -1962,8 +1961,8 @@ typedef struct VkRenderPassCreateInfo { typedef struct VkCommandPoolCreateInfo { VkStructureType sType; const void* pNext; - uint32_t queueFamilyIndex; VkCommandPoolCreateFlags flags; + uint32_t queueFamilyIndex; } VkCommandPoolCreateInfo; typedef struct { |