diff options
| author | Chia-I Wu <olv@lunarg.com> | 2015-10-26 20:48:51 +0800 |
|---|---|---|
| committer | Courtney Goeltzenleuchter <courtney@LunarG.com> | 2015-11-02 13:40:50 -0700 |
| commit | 3dfc13470d037c5681ae716bfbeb65b7e59f9018 (patch) | |
| tree | 57e3af6b43557afbb039eb1c7f53bc6bf63ba3a4 /vulkan.py | |
| parent | 3f72dda365a3289d988160b6fdbcaa28dc059a71 (diff) | |
| download | usermoji-3dfc13470d037c5681ae716bfbeb65b7e59f9018.tar.xz | |
bug 14892: 'count' parameters and members named inconsistently in many cases (WIP)
s/waitSemCount/waitSemaphoreCount/g
s/signalSemCount/signalSemaphoreCount/g
s/cmdBufferCount/commandBufferCount/g
s/queueFamilyCount/queueFamilyIndexCount/g
s/layerCount/enabledLayerNameCount/g
s/extensionCount/enabledExtensionNameCount/g
https://cvs.khronos.org/bugzilla/show_bug.cgi?id=14892
Diffstat (limited to 'vulkan.py')
| -rwxr-xr-x | vulkan.py | 34 |
1 files changed, 17 insertions, 17 deletions
@@ -247,7 +247,7 @@ core = Extension( Proto("void", "GetPhysicalDeviceQueueFamilyProperties", [Param("VkPhysicalDevice", "physicalDevice"), - Param("uint32_t*", "pCount"), + Param("uint32_t*", "pQueueFamilyPropertyCount"), Param("VkQueueFamilyProperties*", "pQueueFamilyProperties")]), Proto("void", "GetPhysicalDeviceMemoryProperties", @@ -272,22 +272,22 @@ core = Extension( Proto("VkResult", "EnumerateInstanceExtensionProperties", [Param("const char*", "pLayerName"), - Param("uint32_t*", "pCount"), + Param("uint32_t*", "pPropertyCount"), Param("VkExtensionProperties*", "pProperties")]), Proto("VkResult", "EnumerateDeviceExtensionProperties", [Param("VkPhysicalDevice", "physicalDevice"), Param("const char*", "pLayerName"), - Param("uint32_t*", "pCount"), + Param("uint32_t*", "pPropertyCount"), Param("VkExtensionProperties*", "pProperties")]), Proto("VkResult", "EnumerateInstanceLayerProperties", - [Param("uint32_t*", "pCount"), + [Param("uint32_t*", "pPropertyCount"), Param("VkLayerProperties*", "pProperties")]), Proto("VkResult", "EnumerateDeviceLayerProperties", [Param("VkPhysicalDevice", "physicalDevice"), - Param("uint32_t*", "pCount"), + Param("uint32_t*", "pPropertyCount"), Param("VkLayerProperties*", "pProperties")]), Proto("void", "GetDeviceQueue", @@ -369,7 +369,7 @@ core = Extension( Proto("void", "GetImageSparseMemoryRequirements", [Param("VkDevice", "device"), Param("VkImage", "image"), - Param("uint32_t*", "pNumRequirements"), + Param("uint32_t*", "pSparseMemoryRequirementCount"), Param("VkSparseImageMemoryRequirements*", "pSparseMemoryRequirements")]), Proto("void", "GetPhysicalDeviceSparseImageFormatProperties", @@ -379,25 +379,25 @@ core = Extension( Param("uint32_t", "samples"), Param("VkImageUsageFlags", "usage"), Param("VkImageTiling", "tiling"), - Param("uint32_t*", "pNumProperties"), + Param("uint32_t*", "pPropertyCount"), Param("VkSparseImageFormatProperties*", "pProperties")]), Proto("VkResult", "QueueBindSparseBufferMemory", [Param("VkQueue", "queue"), Param("VkBuffer", "buffer"), - Param("uint32_t", "numBindings"), + Param("uint32_t", "bindInfoCount"), Param("const VkSparseMemoryBindInfo*", "pBindInfo")]), Proto("VkResult", "QueueBindSparseImageOpaqueMemory", [Param("VkQueue", "queue"), Param("VkImage", "image"), - Param("uint32_t", "numBindings"), + Param("uint32_t", "bindInfoCount"), Param("const VkSparseMemoryBindInfo*", "pBindInfo")]), Proto("VkResult", "QueueBindSparseImageMemory", [Param("VkQueue", "queue"), Param("VkImage", "image"), - Param("uint32_t", "numBindings"), + Param("uint32_t", "bindInfoCount"), Param("const VkSparseImageMemoryBindInfo*", "pBindInfo")]), Proto("VkResult", "CreateFence", @@ -558,14 +558,14 @@ core = Extension( Proto("VkResult", "CreateGraphicsPipelines", [Param("VkDevice", "device"), Param("VkPipelineCache", "pipelineCache"), - Param("uint32_t", "count"), + Param("uint32_t", "createInfoCount"), Param("const VkGraphicsPipelineCreateInfo*", "pCreateInfos"), Param("VkPipeline*", "pPipelines")]), Proto("VkResult", "CreateComputePipelines", [Param("VkDevice", "device"), Param("VkPipelineCache", "pipelineCache"), - Param("uint32_t", "count"), + Param("uint32_t", "createInfoCount"), Param("const VkComputePipelineCreateInfo*", "pCreateInfos"), Param("VkPipeline*", "pPipelines")]), @@ -622,7 +622,7 @@ core = Extension( Proto("VkResult", "FreeDescriptorSets", [Param("VkDevice", "device"), Param("VkDescriptorPool", "descriptorPool"), - Param("uint32_t", "count"), + Param("uint32_t", "descriptorSetCount"), Param("const VkDescriptorSet*", "pDescriptorSets")]), Proto("void", "UpdateDescriptorSets", @@ -677,7 +677,7 @@ core = Extension( Proto("void", "FreeCommandBuffers", [Param("VkDevice", "device"), Param("VkCmdPool", "cmdPool"), - Param("uint32_t", "count"), + Param("uint32_t", "commandBufferCount"), Param("const VkCmdBuffer*", "pCommandBuffers")]), Proto("VkResult", "BeginCommandBuffer", @@ -745,7 +745,7 @@ core = Extension( Param("VkPipelineBindPoint", "pipelineBindPoint"), Param("VkPipelineLayout", "layout"), Param("uint32_t", "firstSet"), - Param("uint32_t", "setCount"), + Param("uint32_t", "descriptorSetCount"), Param("const VkDescriptorSet*", "pDescriptorSets"), Param("uint32_t", "dynamicOffsetCount"), Param("const uint32_t*", "pDynamicOffsets")]), @@ -782,14 +782,14 @@ core = Extension( [Param("VkCmdBuffer", "cmdBuffer"), Param("VkBuffer", "buffer"), Param("VkDeviceSize", "offset"), - Param("uint32_t", "count"), + Param("uint32_t", "drawCount"), Param("uint32_t", "stride")]), Proto("void", "CmdDrawIndexedIndirect", [Param("VkCmdBuffer", "cmdBuffer"), Param("VkBuffer", "buffer"), Param("VkDeviceSize", "offset"), - Param("uint32_t", "count"), + Param("uint32_t", "drawCount"), Param("uint32_t", "stride")]), Proto("void", "CmdDispatch", |
