diff options
| author | Mark Lobodzinski <mark@lunarg.com> | 2016-12-12 09:44:34 -0700 |
|---|---|---|
| committer | Mark Lobodzinski <mark@lunarg.com> | 2016-12-12 13:45:53 -0700 |
| commit | 53f5565510acae64b34c66e900491632c4433a9f (patch) | |
| tree | 177ef5ad5e4c0855de2c69f908db762c977ba2f0 /scripts/vulkan.py | |
| parent | 3a635f75ff30aec1f9b39817ba698e3665c91340 (diff) | |
| download | usermoji-53f5565510acae64b34c66e900491632c4433a9f.tar.xz | |
header: Update to Vulkan version 1.0.37
- header: Updated vulkan.h
- scripts: Updated generator.py
- scripts: Updated vk.xml
- scripts: Merged recent genvk.py changes into lvl_genvk.py
- layers: Updated json files
- loader: Updated SOVERSION to 37
- header: Rebuilt and updated vulkan.hpp
- layers: Updated thread_checker for new functions
- scripts: Fix up vk_helper.py overzealous count detection
Change-Id: Ia10f5fc759166a09999f01e68bbcadb30ddf67f7
Diffstat (limited to 'scripts/vulkan.py')
| -rw-r--r-- | scripts/vulkan.py | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/scripts/vulkan.py b/scripts/vulkan.py index 5d71f52f..65728c7b 100644 --- a/scripts/vulkan.py +++ b/scripts/vulkan.py @@ -1344,6 +1344,66 @@ VK_EXT_debug_marker = Extension( ], ) +VK_NVX_device_generated_commands = Extension( + name="VK_EXT_debug_marker", + headers=["vulkan/vulkan.h"], + objects=[ + "VkObjectTableNVX", + "VkIndirectCommandsLayoutNVX", + ], + protos=[ + Proto("void", "CmdProcessCommandsNVX", + [Param("VkCommandBuffer", "commandBuffer"), + Param("VkCmdProcessCommandsInfoNVX*", "pProcessCommandsInfo")]), + + Proto("void", "CmdReserveSpaceForCommandsNV", + [Param("VkCommandBuffer", "commandBuffer"), + Param("VkCmdReserveSpaceForCommandsInfoNVX*", "pReserveSpaceInfo")]), + + Proto("VkResult", "CreateIndirectCommandsLayoutNVX", + [Param("VkDevice", "device"), + Param("VkIndirectCommandsLayoutCreateInfoNVX*", "pCreateInfo"), + Param("VkAllocationCallbacks*", "pAllocator"), + Param("VkIndirectCommandsLayoutNVX*", "pIndirectCommandsLayout")]), + + Proto("void", "DestroyIndirectCommandsLayoutNVX", + [Param("VkDevice", "device"), + Param("VkIndirectCommandsLayoutNVX", "indirectCommandsLayout"), + Param("VkAllocationCallbacks*", "pAllocator")]), + + Proto("VkResult", "CreateObjectTableNVX)", + [Param("VkDevice", "device"), + Param("VkObjectTableCreateInfoNVX*", "pCreateInfo"), + Param("VkAllocationCallbacks*", "pAllocator"), + Param("VkObjectTableNVX*", "pObjectTable")]), + + Proto("void", "DestroyObjectTableNVX", + [Param("VkDevice", "device"), + Param("VkObjectTableNVX", "objectTable"), + Param("VkAllocationCallbacks*", "pAllocator")]), + + Proto("VkResult", "RegisterObjectsNVX", + [Param("VkDevice", "device"), + Param("VkObjectTableNVX", "objectTable"), + Param("uint32_t", "objectCount"), + Param("VkObjectTableEntryNVX**", "ppObjectTableEntries"), + Param("uint32_t*", "pObjectIndices")]), + + Proto("VkResult", "UnregisterObjectsNVX)", + [Param("VkDevice", "device"), + Param("VkObjectTableNVX*", "objectTable"), + Param("uint32_t*", "objectCount"), + Param("VkObjectEntryTypeNVX*", "pObjectEntryTypes"), + Param("uint32_t*", "pObjectIndices")]), + + Proto("void", "GetPhysicalDeviceGeneratedCommandsPropertiesNVX", + [Param("VkPhysicalDevice", "physicalDevice"), + Param("VkDeviceGeneratedCommandsFeaturesNVX*", "pFeatures"), + Param("VkDeviceGeneratedCommandsLimitsNVX*", "pLimits")]), + ], +) + + import sys wsi_linux = ['Xcb', 'Xlib', 'Wayland', 'Mir', 'Display'] @@ -1398,6 +1458,7 @@ non_exported_exts = [VK_NV_external_memory_capabilities, # VK_AMD_gpu_shader_half_float, # VK_AMD_shader_ballot, # VK_IMG_format_pvrtc, +# VK_NVX_device_generated_commands, ] extensions = common_exts |
