summaryrefslogtreecommitdiffstats
path: root/include/vulkan
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2015-11-30 17:00:30 -0800
committerJason Ekstrand <[email protected]>2015-12-03 13:43:51 -0800
commite673d642090e6a6fe339570726e52b9191b89d3e (patch)
tree8761eed73c7db507d8af24aac6bf7a27eaa0aa2e /include/vulkan
parentfd53603e4259adee7ce976050412309b5a0550cb (diff)
vk/0.210.0: Change field names in vertex input structs
Diffstat (limited to 'include/vulkan')
-rw-r--r--include/vulkan/vulkan.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/vulkan/vulkan.h b/include/vulkan/vulkan.h
index 3a428ca54e6..93c4047da9e 100644
--- a/include/vulkan/vulkan.h
+++ b/include/vulkan/vulkan.h
@@ -1598,7 +1598,7 @@ typedef struct VkPipelineShaderStageCreateInfo {
typedef struct VkVertexInputBindingDescription {
uint32_t binding;
- uint32_t strideInBytes;
+ uint32_t stride;
VkVertexInputRate inputRate;
} VkVertexInputBindingDescription;
@@ -1606,15 +1606,15 @@ typedef struct VkVertexInputAttributeDescription {
uint32_t location;
uint32_t binding;
VkFormat format;
- uint32_t offsetInBytes;
+ uint32_t offset;
} VkVertexInputAttributeDescription;
typedef struct VkPipelineVertexInputStateCreateInfo {
VkStructureType sType;
const void* pNext;
- uint32_t bindingCount;
+ uint32_t vertexBindingDescriptionCount;
const VkVertexInputBindingDescription* pVertexBindingDescriptions;
- uint32_t attributeCount;
+ uint32_t vertexAttributeDescriptionCount;
const VkVertexInputAttributeDescription* pVertexAttributeDescriptions;
} VkPipelineVertexInputStateCreateInfo;