diff options
Diffstat (limited to 'registry/vk.xml')
-rw-r--r-- | registry/vk.xml | 153 |
1 files changed, 141 insertions, 12 deletions
diff --git a/registry/vk.xml b/registry/vk.xml index b3a939b..3d8405a 100644 --- a/registry/vk.xml +++ b/registry/vk.xml @@ -175,7 +175,7 @@ branch of the member gitlab server. #define <name>VKSC_API_VERSION_1_0</name> <type>VK_MAKE_API_VERSION</type>(VKSC_API_VARIANT, 1, 0, 0)// Patch version should always be set to 0</type> <type api="vulkan" category="define">// Version of this file -#define <name>VK_HEADER_VERSION</name> 268</type> +#define <name>VK_HEADER_VERSION</name> 269</type> <type api="vulkan" category="define" requires="VK_HEADER_VERSION">// Complete version of this file #define <name>VK_HEADER_VERSION_COMPLETE</name> <type>VK_MAKE_API_VERSION</type>(0, 1, 3, VK_HEADER_VERSION)</type> <type api="vulkansc" category="define">// Version of this file @@ -482,6 +482,7 @@ typedef void* <name>MTLSharedEvent_id</name>; <type requires="VkPresentScalingFlagBitsEXT" category="bitmask">typedef <type>VkFlags</type> <name>VkPresentScalingFlagsEXT</name>;</type> <type requires="VkPresentGravityFlagBitsEXT" category="bitmask">typedef <type>VkFlags</type> <name>VkPresentGravityFlagsEXT</name>;</type> <type requires="VkShaderCreateFlagBitsEXT" category="bitmask">typedef <type>VkFlags</type> <name>VkShaderCreateFlagsEXT</name>;</type> + <type bitvalues="VkPhysicalDeviceSchedulingControlsFlagBitsARM" category="bitmask">typedef <type>VkFlags64</type> <name>VkPhysicalDeviceSchedulingControlsFlagsARM</name>;</type> <comment>Video Core extension</comment> <type requires="VkVideoCodecOperationFlagBitsKHR" category="bitmask">typedef <type>VkFlags</type> <name>VkVideoCodecOperationFlagsKHR</name>;</type> @@ -867,6 +868,7 @@ typedef void* <name>MTLSharedEvent_id</name>; <type name="VkPresentGravityFlagBitsEXT" category="enum"/> <type name="VkLatencyMarkerNV" category="enum"/> <type name="VkOutOfBandQueueTypeNV" category="enum"/> + <type name="VkPhysicalDeviceSchedulingControlsFlagBitsARM" category="enum"/> <comment>Enumerated types in the header, but not used by the API</comment> <type name="VkVendorId" category="enum"/> @@ -7599,6 +7601,36 @@ typedef void* <name>MTLSharedEvent_id</name>; <member><type>uint32_t</type> <name>minBufferCountForDedicatedSlack</name></member> <member><type>uint32_t</type> <name>minBufferCountForSharedSlack</name></member> </type> + <type category="handle" parent="VkDevice" objtypeenum="VK_OBJECT_TYPE_CUDA_MODULE_NV"><type>VK_DEFINE_NON_DISPATCHABLE_HANDLE</type>(<name>VkCudaModuleNV</name>)</type> + <type category="handle" parent="VkDevice" objtypeenum="VK_OBJECT_TYPE_CUDA_FUNCTION_NV"><type>VK_DEFINE_NON_DISPATCHABLE_HANDLE</type>(<name>VkCudaFunctionNV</name>)</type> + <type category="struct" name="VkCudaModuleCreateInfoNV"> + <member values="VK_STRUCTURE_TYPE_CUDA_MODULE_CREATE_INFO_NV"><type>VkStructureType</type> <name>sType</name></member> + <member optional="true">const <type>void</type>* <name>pNext</name></member> + <member><type>size_t</type> <name>dataSize</name></member> + <member len="dataSize">const <type>void</type>* <name>pData</name></member> + </type> + <type category="struct" name="VkCudaFunctionCreateInfoNV"> + <member values="VK_STRUCTURE_TYPE_CUDA_FUNCTION_CREATE_INFO_NV"><type>VkStructureType</type> <name>sType</name></member> + <member optional="true">const <type>void</type>* <name>pNext</name></member> + <member><type>VkCudaModuleNV</type> <name>module</name></member> + <member len="null-terminated">const <type>char</type>* <name>pName</name></member> + </type> + <type category="struct" name="VkCudaLaunchInfoNV"> + <member values="VK_STRUCTURE_TYPE_CUDA_LAUNCH_INFO_NV"><type>VkStructureType</type> <name>sType</name></member> + <member optional="true">const <type>void</type>* <name>pNext</name></member> + <member><type>VkCudaFunctionNV</type> <name>function</name></member> + <member><type>uint32_t</type> <name>gridDimX</name></member> + <member><type>uint32_t</type> <name>gridDimY</name></member> + <member><type>uint32_t</type> <name>gridDimZ</name></member> + <member><type>uint32_t</type> <name>blockDimX</name></member> + <member><type>uint32_t</type> <name>blockDimY</name></member> + <member><type>uint32_t</type> <name>blockDimZ</name></member> + <member><type>uint32_t</type> <name>sharedMemBytes</name></member> + <member optional="true"><type>size_t</type> <name>paramCount</name></member> + <member optional="true" len="paramCount">const <type>void</type>* const * <name>pParams</name></member> + <member optional="true"><type>size_t</type> <name>extraCount</name></member> + <member optional="true" len="extraCount">const <type>void</type>* const * <name>pExtras</name></member> + </type> <type category="struct" name="VkPhysicalDeviceRGBA10X6FormatsFeaturesEXT" structextends="VkPhysicalDeviceFeatures2,VkDeviceCreateInfo"> <member values="VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RGBA10X6_FORMATS_FEATURES_EXT"><type>VkStructureType</type> <name>sType</name></member> <member optional="true" noautovalidity="true"><type>void</type>* <name>pNext</name></member> @@ -8776,9 +8808,35 @@ typedef void* <name>MTLSharedEvent_id</name>; <type category="struct" name="VkLatencySurfaceCapabilitiesNV" structextends="VkSurfaceCapabilities2KHR"> <member values="VK_STRUCTURE_TYPE_LATENCY_SURFACE_CAPABILITIES_NV"><type>VkStructureType</type> <name>sType</name></member> <member optional="true">const <type>void</type>* <name>pNext</name></member> - <member optional="false,true"><type>uint32_t</type> <name>presentModeCount</name></member> + <member optional="true"><type>uint32_t</type> <name>presentModeCount</name></member> <member optional="true" len="presentModeCount"><type>VkPresentModeKHR</type>* <name>pPresentModes</name></member> </type> + <type category="struct" name="VkPhysicalDeviceCudaKernelLaunchFeaturesNV" structextends="VkPhysicalDeviceFeatures2,VkDeviceCreateInfo"> + <member values="VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CUDA_KERNEL_LAUNCH_FEATURES_NV"><type>VkStructureType</type> <name>sType</name></member> + <member optional="true"><type>void</type>* <name>pNext</name></member> + <member><type>VkBool32</type> <name>cudaKernelLaunchFeatures</name></member> + </type> + <type category="struct" name="VkPhysicalDeviceCudaKernelLaunchPropertiesNV" structextends="VkPhysicalDeviceProperties2" returnedonly="true"> + <member values="VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CUDA_KERNEL_LAUNCH_PROPERTIES_NV"><type>VkStructureType</type> <name>sType</name></member> + <member optional="true"><type>void</type>* <name>pNext</name></member> + <member limittype="max"><type>uint32_t</type> <name>computeCapabilityMinor</name></member> + <member limittype="min"><type>uint32_t</type> <name>computeCapabilityMajor</name></member> + </type> + <type category="struct" name="VkDeviceQueueShaderCoreControlCreateInfoARM" structextends="VkDeviceQueueCreateInfo,VkDeviceCreateInfo"> + <member values="VK_STRUCTURE_TYPE_DEVICE_QUEUE_SHADER_CORE_CONTROL_CREATE_INFO_ARM"><type>VkStructureType</type> <name>sType</name></member> + <member optional="true"><type>void</type>* <name>pNext</name></member> + <member><type>uint32_t</type> <name>shaderCoreCount</name></member> + </type> + <type category="struct" name="VkPhysicalDeviceSchedulingControlsFeaturesARM" structextends="VkPhysicalDeviceFeatures2,VkDeviceCreateInfo"> + <member values="VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SCHEDULING_CONTROLS_FEATURES_ARM"><type>VkStructureType</type> <name>sType</name></member> + <member optional="true"><type>void</type>* <name>pNext</name></member> + <member><type>VkBool32</type> <name>schedulingControls</name></member> + </type> + <type category="struct" name="VkPhysicalDeviceSchedulingControlsPropertiesARM" structextends="VkPhysicalDeviceProperties2"> + <member values="VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SCHEDULING_CONTROLS_PROPERTIES_ARM"><type>VkStructureType</type> <name>sType</name></member> + <member optional="true"><type>void</type>* <name>pNext</name></member> + <member><type>VkPhysicalDeviceSchedulingControlsFlagsARM</type> <name>schedulingControlsFlags</name></member> + </type> </types> @@ -10436,6 +10494,9 @@ typedef void* <name>MTLSharedEvent_id</name>; <enum bitpos="1" name="VK_PRESENT_GRAVITY_MAX_BIT_EXT"/> <enum bitpos="2" name="VK_PRESENT_GRAVITY_CENTERED_BIT_EXT"/> </enums> + <enums name="VkPhysicalDeviceSchedulingControlsFlagBitsARM" type="bitmask"> + <enum bitpos="0" name="VK_PHYSICAL_DEVICE_SCHEDULING_CONTROLS_SHADER_CORE_COUNT_ARM"/> + </enums> <enums name="VkVideoCodecOperationFlagBitsKHR" type="bitmask"> <enum value="0" name="VK_VIDEO_CODEC_OPERATION_NONE_KHR"/> @@ -13748,7 +13809,7 @@ typedef void* <name>MTLSharedEvent_id</name>; <param><type>VkDevice</type> <name>device</name></param> <param><type>VkFaultQueryBehavior</type> <name>faultQueryBehavior</name></param> <param><type>VkBool32</type>* <name>pUnrecordedFaults</name></param> - <param><type>uint32_t</type>* <name>pFaultCount</name></param> + <param optional="false,true"><type>uint32_t</type>* <name>pFaultCount</name></param> <param optional="true" len="pFaultCount"><type>VkFaultData</type>* <name>pFaults</name></param> </command> <command successcodes="VK_SUCCESS,VK_INCOMPLETE" errorcodes="VK_ERROR_OUT_OF_HOST_MEMORY"> @@ -14596,6 +14657,44 @@ typedef void* <name>MTLSharedEvent_id</name>; <param><type>VkBufferCollectionFUCHSIA</type> <name>collection</name></param> <param><type>VkBufferCollectionPropertiesFUCHSIA</type>* <name>pProperties</name></param> </command> + <command successcodes="VK_SUCCESS" errorcodes="VK_ERROR_INITIALIZATION_FAILED,VK_ERROR_OUT_OF_HOST_MEMORY"> + <proto><type>VkResult</type> <name>vkCreateCudaModuleNV</name></proto> + <param><type>VkDevice</type> <name>device</name></param> + <param>const <type>VkCudaModuleCreateInfoNV</type>* <name>pCreateInfo</name></param> + <param optional="true">const <type>VkAllocationCallbacks</type>* <name>pAllocator</name></param> + <param><type>VkCudaModuleNV</type>* <name>pModule</name></param> + </command> + <command successcodes="VK_SUCCESS,VK_INCOMPLETE" errorcodes="VK_ERROR_INITIALIZATION_FAILED"> + <proto><type>VkResult</type> <name>vkGetCudaModuleCacheNV</name></proto> + <param><type>VkDevice</type> <name>device</name></param> + <param><type>VkCudaModuleNV</type> <name>module</name></param> + <param optional="false,true"><type>size_t</type>* <name>pCacheSize</name></param> + <param optional="true" len="pCacheSize"><type>void</type>* <name>pCacheData</name></param> + </command> + <command successcodes="VK_SUCCESS" errorcodes="VK_ERROR_INITIALIZATION_FAILED,VK_ERROR_OUT_OF_HOST_MEMORY"> + <proto><type>VkResult</type> <name>vkCreateCudaFunctionNV</name></proto> + <param><type>VkDevice</type> <name>device</name></param> + <param>const <type>VkCudaFunctionCreateInfoNV</type>* <name>pCreateInfo</name></param> + <param optional="true">const <type>VkAllocationCallbacks</type>* <name>pAllocator</name></param> + <param><type>VkCudaFunctionNV</type>* <name>pFunction</name></param> + </command> + <command> + <proto><type>void</type> <name>vkDestroyCudaModuleNV</name></proto> + <param><type>VkDevice</type> <name>device</name></param> + <param><type>VkCudaModuleNV</type> <name>module</name></param> + <param optional="true">const <type>VkAllocationCallbacks</type>* <name>pAllocator</name></param> + </command> + <command> + <proto><type>void</type> <name>vkDestroyCudaFunctionNV</name></proto> + <param><type>VkDevice</type> <name>device</name></param> + <param><type>VkCudaFunctionNV</type> <name>function</name></param> + <param optional="true">const <type>VkAllocationCallbacks</type>* <name>pAllocator</name></param> + </command> + <command queues="graphics,compute" renderpass="both" cmdbufferlevel="primary,secondary" tasks="action"> + <proto><type>void</type> <name>vkCmdCudaLaunchKernelNV</name></proto> + <param><type>VkCommandBuffer</type> <name>commandBuffer</name></param> + <param>const <type>VkCudaLaunchInfoNV</type>* <name>pLaunchInfo</name></param> + </command> <command queues="graphics" renderpass="outside" cmdbufferlevel="primary,secondary" tasks="action,state"> <proto><type>void</type> <name>vkCmdBeginRendering</name></proto> <param externsync="true"><type>VkCommandBuffer</type> <name>commandBuffer</name></param> @@ -20698,10 +20797,32 @@ typedef void* <name>MTLSharedEvent_id</name>; <enum value=""VK_QCOM_extension_307"" name="VK_QCOM_EXTENSION_307_EXTENSION_NAME"/> </require> </extension> - <extension name="VK_NV_extension_308" number="308" type="device" author="NV" contact="Tristan Lorach @tlorach" supported="disabled"> - <require> - <enum value="0" name="VK_NV_EXTENSION_308_SPEC_VERSION"/> - <enum value=""VK_NV_extension_308"" name="VK_NV_EXTENSION_308_EXTENSION_NAME"/> + <extension name="VK_NV_cuda_kernel_launch" number="308" type="device" author="NV" contact="Tristan Lorach @tlorach" supported="vulkan" provisional="true"> + <require> + <enum value="2" name="VK_NV_CUDA_KERNEL_LAUNCH_SPEC_VERSION"/> + <enum value=""VK_NV_cuda_kernel_launch"" name="VK_NV_CUDA_KERNEL_LAUNCH_EXTENSION_NAME"/> + <enum offset="0" extends="VkStructureType" name="VK_STRUCTURE_TYPE_CUDA_MODULE_CREATE_INFO_NV"/> + <enum offset="1" extends="VkStructureType" name="VK_STRUCTURE_TYPE_CUDA_FUNCTION_CREATE_INFO_NV"/> + <enum offset="2" extends="VkStructureType" name="VK_STRUCTURE_TYPE_CUDA_LAUNCH_INFO_NV"/> + <enum offset="3" extends="VkStructureType" name="VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CUDA_KERNEL_LAUNCH_FEATURES_NV"/> + <enum offset="4" extends="VkStructureType" name="VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CUDA_KERNEL_LAUNCH_PROPERTIES_NV"/> + <enum offset="0" extends="VkObjectType" name="VK_OBJECT_TYPE_CUDA_MODULE_NV"/> + <enum offset="1" extends="VkObjectType" name="VK_OBJECT_TYPE_CUDA_FUNCTION_NV"/> + <enum offset="0" extends="VkDebugReportObjectTypeEXT" name="VK_DEBUG_REPORT_OBJECT_TYPE_CUDA_MODULE_NV"/> + <enum offset="1" extends="VkDebugReportObjectTypeEXT" name="VK_DEBUG_REPORT_OBJECT_TYPE_CUDA_FUNCTION_NV"/> + <type name="VkCudaModuleNV"/> + <type name="VkCudaFunctionNV"/> + <type name="VkCudaModuleCreateInfoNV"/> + <type name="VkCudaFunctionCreateInfoNV"/> + <type name="VkCudaLaunchInfoNV"/> + <type name="VkPhysicalDeviceCudaKernelLaunchFeaturesNV"/> + <type name="VkPhysicalDeviceCudaKernelLaunchPropertiesNV"/> + <command name="vkCreateCudaModuleNV"/> + <command name="vkGetCudaModuleCacheNV"/> + <command name="vkCreateCudaFunctionNV"/> + <command name="vkDestroyCudaModuleNV"/> + <command name="vkDestroyCudaFunctionNV"/> + <command name="vkCmdCudaLaunchKernelNV"/> </require> </extension> <extension name="VK_KHR_object_refresh" number="309" type="device" author="KHR" contact="Aidan Fabius @afabius" supported="vulkansc" ratified="vulkansc"> @@ -22067,10 +22188,18 @@ typedef void* <name>MTLSharedEvent_id</name>; <enum value=""VK_KHR_extension_417"" name="VK_KHR_EXTENSION_417_EXTENSION_NAME"/> </require> </extension> - <extension name="VK_ARM_extension_418" number="418" author="ARM" contact="Kevin Petit @kpet" supported="disabled"> + <extension name="VK_ARM_scheduling_controls" number="418" author="ARM" contact="Kevin Petit @kpet" type="device" depends="VK_ARM_shader_core_builtins" supported="vulkan"> <require> - <enum value="0" name="VK_ARM_EXTENSION_418_SPEC_VERSION"/> - <enum value=""VK_ARM_extension_418"" name="VK_ARM_EXTENSION_418_EXTENSION_NAME"/> + <enum value="1" name="VK_ARM_SCHEDULING_CONTROLS_SPEC_VERSION"/> + <enum value=""VK_ARM_scheduling_controls"" name="VK_ARM_SCHEDULING_CONTROLS_EXTENSION_NAME"/> + <enum extends="VkStructureType" offset="0" name="VK_STRUCTURE_TYPE_DEVICE_QUEUE_SHADER_CORE_CONTROL_CREATE_INFO_ARM"/> + <enum extends="VkStructureType" offset="1" name="VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SCHEDULING_CONTROLS_FEATURES_ARM"/> + <enum extends="VkStructureType" offset="2" name="VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SCHEDULING_CONTROLS_PROPERTIES_ARM"/> + <type name="VkDeviceQueueShaderCoreControlCreateInfoARM"/> + <type name="VkPhysicalDeviceSchedulingControlsFeaturesARM"/> + <type name="VkPhysicalDeviceSchedulingControlsPropertiesARM"/> + <type name="VkPhysicalDeviceSchedulingControlsFlagsARM"/> + <type name="VkPhysicalDeviceSchedulingControlsFlagBitsARM"/> </require> </extension> <extension name="VK_EXT_image_sliced_view_of_3d" number="419" depends="VK_KHR_maintenance1+VK_KHR_get_physical_device_properties2" author="EXT" contact="Mike Blumenkrantz @zmike" specialuse="d3demulation" type="device" supported="vulkan"> @@ -22683,8 +22812,8 @@ typedef void* <name>MTLSharedEvent_id</name>; <command name="vkCmdBindIndexBuffer2KHR"/> <command name="vkGetRenderingAreaGranularityKHR"/> <type name="VkRenderingAreaInfoKHR"/> - <command name ="vkGetDeviceImageSubresourceLayoutKHR"/> - <command name ="vkGetImageSubresourceLayout2KHR"/> + <command name="vkGetDeviceImageSubresourceLayoutKHR"/> + <command name="vkGetImageSubresourceLayout2KHR"/> <type name="VkDeviceImageSubresourceInfoKHR"/> <type name="VkImageSubresource2KHR"/> <type name="VkSubresourceLayout2KHR"/> |