Skip to content

Commit 095bcc6

Browse files
authored
Merge pull request #461 from ThreeOfTwelve/vulkan-update-v1.3.240
Update Vulkan to v1.3.240
2 parents 6ce489c + 0be88ab commit 095bcc6

31 files changed

+3827
-814
lines changed

changelog.md

+3
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
## WIP
44

5+
## [3.24.5] - 2023-02-03
6+
- Bump API version to v1.3.240
7+
58
## [3.24.4] - 2023-01-20
69
- Bump API version to v1.3.239
710

package.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: vulkan
2-
version: "3.24.4"
2+
version: "3.24.5"
33
synopsis: Bindings to the Vulkan graphics API.
44
description: Please see [the readme](https://github.com/expipiplus1/vulkan/#readme)
55
category: Graphics

src/Vulkan/CStruct/Extends.hs

+5
Original file line numberDiff line numberDiff line change
@@ -557,6 +557,7 @@ import {-# SOURCE #-} Vulkan.Extensions.VK_KHR_performance_query (PhysicalDevice
557557
import {-# SOURCE #-} Vulkan.Extensions.VK_KHR_performance_query (PhysicalDevicePerformanceQueryPropertiesKHR)
558558
import {-# SOURCE #-} Vulkan.Core13.Promoted_From_VK_EXT_pipeline_creation_cache_control (PhysicalDevicePipelineCreationCacheControlFeatures)
559559
import {-# SOURCE #-} Vulkan.Extensions.VK_KHR_pipeline_executable_properties (PhysicalDevicePipelineExecutablePropertiesFeaturesKHR)
560+
import {-# SOURCE #-} Vulkan.Extensions.VK_EXT_pipeline_library_group_handles (PhysicalDevicePipelineLibraryGroupHandlesFeaturesEXT)
560561
import {-# SOURCE #-} Vulkan.Extensions.VK_EXT_pipeline_properties (PhysicalDevicePipelinePropertiesFeaturesEXT)
561562
import {-# SOURCE #-} Vulkan.Extensions.VK_EXT_pipeline_protected_access (PhysicalDevicePipelineProtectedAccessFeaturesEXT)
562563
import {-# SOURCE #-} Vulkan.Extensions.VK_EXT_pipeline_robustness (PhysicalDevicePipelineRobustnessFeaturesEXT)
@@ -1166,6 +1167,7 @@ type family Extends (a :: [Type] -> Type) (b :: Type) :: Constraint where
11661167
Extends DeviceCreateInfo PhysicalDeviceAddressBindingReportFeaturesEXT = ()
11671168
Extends DeviceCreateInfo PhysicalDeviceOpticalFlowFeaturesNV = ()
11681169
Extends DeviceCreateInfo PhysicalDeviceFaultFeaturesEXT = ()
1170+
Extends DeviceCreateInfo PhysicalDevicePipelineLibraryGroupHandlesFeaturesEXT = ()
11691171
Extends DeviceCreateInfo PhysicalDeviceShaderCoreBuiltinsFeaturesARM = ()
11701172
Extends DeviceCreateInfo PhysicalDeviceSwapchainMaintenance1FeaturesEXT = ()
11711173
Extends DeviceCreateInfo PhysicalDeviceRayTracingInvocationReorderFeaturesNV = ()
@@ -1400,6 +1402,7 @@ type family Extends (a :: [Type] -> Type) (b :: Type) :: Constraint where
14001402
Extends PhysicalDeviceFeatures2 PhysicalDeviceAddressBindingReportFeaturesEXT = ()
14011403
Extends PhysicalDeviceFeatures2 PhysicalDeviceOpticalFlowFeaturesNV = ()
14021404
Extends PhysicalDeviceFeatures2 PhysicalDeviceFaultFeaturesEXT = ()
1405+
Extends PhysicalDeviceFeatures2 PhysicalDevicePipelineLibraryGroupHandlesFeaturesEXT = ()
14031406
Extends PhysicalDeviceFeatures2 PhysicalDeviceShaderCoreBuiltinsFeaturesARM = ()
14041407
Extends PhysicalDeviceFeatures2 PhysicalDeviceSwapchainMaintenance1FeaturesEXT = ()
14051408
Extends PhysicalDeviceFeatures2 PhysicalDeviceRayTracingInvocationReorderFeaturesNV = ()
@@ -2107,6 +2110,7 @@ peekChainHead ty p c = case ty of
21072110
STRUCTURE_TYPE_OPTICAL_FLOW_IMAGE_FORMAT_INFO_NV -> go @OpticalFlowImageFormatInfoNV
21082111
STRUCTURE_TYPE_OPTICAL_FLOW_SESSION_CREATE_PRIVATE_DATA_INFO_NV -> go @OpticalFlowSessionCreatePrivateDataInfoNV
21092112
STRUCTURE_TYPE_PHYSICAL_DEVICE_FAULT_FEATURES_EXT -> go @PhysicalDeviceFaultFeaturesEXT
2113+
STRUCTURE_TYPE_PHYSICAL_DEVICE_PIPELINE_LIBRARY_GROUP_HANDLES_FEATURES_EXT -> go @PhysicalDevicePipelineLibraryGroupHandlesFeaturesEXT
21102114
STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_CORE_BUILTINS_PROPERTIES_ARM -> go @PhysicalDeviceShaderCoreBuiltinsPropertiesARM
21112115
STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_CORE_BUILTINS_FEATURES_ARM -> go @PhysicalDeviceShaderCoreBuiltinsFeaturesARM
21122116
STRUCTURE_TYPE_SURFACE_PRESENT_MODE_EXT -> go @SurfacePresentModeEXT
@@ -2585,6 +2589,7 @@ infix 6 ::&
25852589
{-# complete (::&) :: OpticalFlowImageFormatInfoNV #-}
25862590
{-# complete (::&) :: OpticalFlowSessionCreatePrivateDataInfoNV #-}
25872591
{-# complete (::&) :: PhysicalDeviceFaultFeaturesEXT #-}
2592+
{-# complete (::&) :: PhysicalDevicePipelineLibraryGroupHandlesFeaturesEXT #-}
25882593
{-# complete (::&) :: PhysicalDeviceShaderCoreBuiltinsPropertiesARM #-}
25892594
{-# complete (::&) :: PhysicalDeviceShaderCoreBuiltinsFeaturesARM #-}
25902595
{-# complete (::&) :: SurfacePresentModeEXT #-}

src/Vulkan/Core10/CommandBufferBuilding.hs

+701-182
Large diffs are not rendered by default.

src/Vulkan/Core10/Device.hs

+3
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,7 @@ import {-# SOURCE #-} Vulkan.Extensions.VK_EXT_pageable_device_local_memory (Phy
170170
import {-# SOURCE #-} Vulkan.Extensions.VK_KHR_performance_query (PhysicalDevicePerformanceQueryFeaturesKHR)
171171
import {-# SOURCE #-} Vulkan.Core13.Promoted_From_VK_EXT_pipeline_creation_cache_control (PhysicalDevicePipelineCreationCacheControlFeatures)
172172
import {-# SOURCE #-} Vulkan.Extensions.VK_KHR_pipeline_executable_properties (PhysicalDevicePipelineExecutablePropertiesFeaturesKHR)
173+
import {-# SOURCE #-} Vulkan.Extensions.VK_EXT_pipeline_library_group_handles (PhysicalDevicePipelineLibraryGroupHandlesFeaturesEXT)
173174
import {-# SOURCE #-} Vulkan.Extensions.VK_EXT_pipeline_properties (PhysicalDevicePipelinePropertiesFeaturesEXT)
174175
import {-# SOURCE #-} Vulkan.Extensions.VK_EXT_pipeline_protected_access (PhysicalDevicePipelineProtectedAccessFeaturesEXT)
175176
import {-# SOURCE #-} Vulkan.Extensions.VK_EXT_pipeline_robustness (PhysicalDevicePipelineRobustnessFeaturesEXT)
@@ -916,6 +917,7 @@ instance es ~ '[] => Zero (DeviceQueueCreateInfo es) where
916917
-- 'Vulkan.Extensions.VK_KHR_performance_query.PhysicalDevicePerformanceQueryFeaturesKHR',
917918
-- 'Vulkan.Core13.Promoted_From_VK_EXT_pipeline_creation_cache_control.PhysicalDevicePipelineCreationCacheControlFeatures',
918919
-- 'Vulkan.Extensions.VK_KHR_pipeline_executable_properties.PhysicalDevicePipelineExecutablePropertiesFeaturesKHR',
920+
-- 'Vulkan.Extensions.VK_EXT_pipeline_library_group_handles.PhysicalDevicePipelineLibraryGroupHandlesFeaturesEXT',
919921
-- 'Vulkan.Extensions.VK_EXT_pipeline_properties.PhysicalDevicePipelinePropertiesFeaturesEXT',
920922
-- 'Vulkan.Extensions.VK_EXT_pipeline_protected_access.PhysicalDevicePipelineProtectedAccessFeaturesEXT',
921923
-- 'Vulkan.Extensions.VK_EXT_pipeline_robustness.PhysicalDevicePipelineRobustnessFeaturesEXT',
@@ -1066,6 +1068,7 @@ instance Extensible DeviceCreateInfo where
10661068
| Just Refl <- eqT @e @PhysicalDeviceRayTracingInvocationReorderFeaturesNV = Just f
10671069
| Just Refl <- eqT @e @PhysicalDeviceSwapchainMaintenance1FeaturesEXT = Just f
10681070
| Just Refl <- eqT @e @PhysicalDeviceShaderCoreBuiltinsFeaturesARM = Just f
1071+
| Just Refl <- eqT @e @PhysicalDevicePipelineLibraryGroupHandlesFeaturesEXT = Just f
10691072
| Just Refl <- eqT @e @PhysicalDeviceFaultFeaturesEXT = Just f
10701073
| Just Refl <- eqT @e @PhysicalDeviceOpticalFlowFeaturesNV = Just f
10711074
| Just Refl <- eqT @e @PhysicalDeviceAddressBindingReportFeaturesEXT = Just f

src/Vulkan/Core10/Enums/StructureType.hs

+10
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ module Vulkan.Core10.Enums.StructureType (StructureType( STRUCTURE_TYPE_APPLICA
4949
, STRUCTURE_TYPE_MEMORY_BARRIER
5050
, STRUCTURE_TYPE_LOADER_INSTANCE_CREATE_INFO
5151
, STRUCTURE_TYPE_LOADER_DEVICE_CREATE_INFO
52+
, STRUCTURE_TYPE_PHYSICAL_DEVICE_PIPELINE_LIBRARY_GROUP_HANDLES_FEATURES_EXT
5253
, STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_CORE_BUILTINS_PROPERTIES_ARM
5354
, STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_CORE_BUILTINS_FEATURES_ARM
5455
, STRUCTURE_TYPE_MUTABLE_DESCRIPTOR_TYPE_CREATE_INFO_EXT
@@ -1139,6 +1140,7 @@ import GHC.Show (Show(showsPrec))
11391140
-- 'Vulkan.Extensions.VK_KHR_performance_query.PhysicalDevicePerformanceQueryPropertiesKHR',
11401141
-- 'Vulkan.Core13.Promoted_From_VK_EXT_pipeline_creation_cache_control.PhysicalDevicePipelineCreationCacheControlFeatures',
11411142
-- 'Vulkan.Extensions.VK_KHR_pipeline_executable_properties.PhysicalDevicePipelineExecutablePropertiesFeaturesKHR',
1143+
-- 'Vulkan.Extensions.VK_EXT_pipeline_library_group_handles.PhysicalDevicePipelineLibraryGroupHandlesFeaturesEXT',
11421144
-- 'Vulkan.Extensions.VK_EXT_pipeline_properties.PhysicalDevicePipelinePropertiesFeaturesEXT',
11431145
-- 'Vulkan.Extensions.VK_EXT_pipeline_protected_access.PhysicalDevicePipelineProtectedAccessFeaturesEXT',
11441146
-- 'Vulkan.Extensions.VK_EXT_pipeline_robustness.PhysicalDevicePipelineRobustnessFeaturesEXT',
@@ -1606,6 +1608,9 @@ pattern STRUCTURE_TYPE_LOADER_INSTANCE_CREATE_INFO = StructureType 47
16061608
-- No documentation found for Nested "VkStructureType" "VK_STRUCTURE_TYPE_LOADER_DEVICE_CREATE_INFO"
16071609
pattern STRUCTURE_TYPE_LOADER_DEVICE_CREATE_INFO = StructureType 48
16081610

1611+
-- No documentation found for Nested "VkStructureType" "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PIPELINE_LIBRARY_GROUP_HANDLES_FEATURES_EXT"
1612+
pattern STRUCTURE_TYPE_PHYSICAL_DEVICE_PIPELINE_LIBRARY_GROUP_HANDLES_FEATURES_EXT = StructureType 1000498000
1613+
16091614
-- No documentation found for Nested "VkStructureType" "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_CORE_BUILTINS_PROPERTIES_ARM"
16101615
pattern STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_CORE_BUILTINS_PROPERTIES_ARM = StructureType 1000497001
16111616

@@ -3579,6 +3584,7 @@ pattern STRUCTURE_TYPE_PHYSICAL_DEVICE_SUBGROUP_PROPERTIES = StructureType 10000
35793584
, STRUCTURE_TYPE_MEMORY_BARRIER
35803585
, STRUCTURE_TYPE_LOADER_INSTANCE_CREATE_INFO
35813586
, STRUCTURE_TYPE_LOADER_DEVICE_CREATE_INFO
3587+
, STRUCTURE_TYPE_PHYSICAL_DEVICE_PIPELINE_LIBRARY_GROUP_HANDLES_FEATURES_EXT
35823588
, STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_CORE_BUILTINS_PROPERTIES_ARM
35833589
, STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_CORE_BUILTINS_FEATURES_ARM
35843590
, STRUCTURE_TYPE_MUTABLE_DESCRIPTOR_TYPE_CREATE_INFO_EXT
@@ -4415,6 +4421,10 @@ showTableStructureType =
44154421
( STRUCTURE_TYPE_LOADER_DEVICE_CREATE_INFO
44164422
, "LOADER_DEVICE_CREATE_INFO"
44174423
)
4424+
,
4425+
( STRUCTURE_TYPE_PHYSICAL_DEVICE_PIPELINE_LIBRARY_GROUP_HANDLES_FEATURES_EXT
4426+
, "PHYSICAL_DEVICE_PIPELINE_LIBRARY_GROUP_HANDLES_FEATURES_EXT"
4427+
)
44184428
,
44194429
( STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_CORE_BUILTINS_PROPERTIES_ARM
44204430
, "PHYSICAL_DEVICE_SHADER_CORE_BUILTINS_PROPERTIES_ARM"

src/Vulkan/Core10/FundamentalTypes.hs

+1
Original file line numberDiff line numberDiff line change
@@ -528,6 +528,7 @@ instance Zero Rect2D where
528528
-- 'Vulkan.Extensions.VK_KHR_performance_query.PhysicalDevicePerformanceQueryPropertiesKHR',
529529
-- 'Vulkan.Core13.Promoted_From_VK_EXT_pipeline_creation_cache_control.PhysicalDevicePipelineCreationCacheControlFeatures',
530530
-- 'Vulkan.Extensions.VK_KHR_pipeline_executable_properties.PhysicalDevicePipelineExecutablePropertiesFeaturesKHR',
531+
-- 'Vulkan.Extensions.VK_EXT_pipeline_library_group_handles.PhysicalDevicePipelineLibraryGroupHandlesFeaturesEXT',
531532
-- 'Vulkan.Extensions.VK_EXT_pipeline_properties.PhysicalDevicePipelinePropertiesFeaturesEXT',
532533
-- 'Vulkan.Extensions.VK_EXT_pipeline_protected_access.PhysicalDevicePipelineProtectedAccessFeaturesEXT',
533534
-- 'Vulkan.Extensions.VK_EXT_pipeline_robustness.PhysicalDevicePipelineRobustnessFeaturesEXT',

src/Vulkan/Core10/Pipeline.hs

+11-9
Original file line numberDiff line numberDiff line change
@@ -6086,15 +6086,19 @@ instance Zero PipelineDepthStencilStateCreateInfo where
60866086
-- 'Vulkan.Extensions.VK_NV_device_generated_commands.GraphicsPipelineShaderGroupsCreateInfoNV'::@groupCount@
60876087
-- /must/ be greater than @0@
60886088
--
6089-
-- - #VUID-VkGraphicsPipelineCreateInfo-flags-07814# If @flags@ includes
6090-
-- 'Vulkan.Core10.Enums.PipelineCreateFlagBits.PIPELINE_CREATE_LINK_TIME_OPTIMIZATION_BIT_EXT',
6091-
-- the pipeline includes a
6089+
-- - #VUID-VkGraphicsPipelineCreateInfo-None-07826# If the pipeline
6090+
-- includes a
6091+
-- <https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#pipelines-graphics-subsets-complete complete set of state>,
6092+
-- 'Vulkan.Core10.Handles.PipelineLayout' /must/ be a valid pipeline
6093+
-- layout
6094+
--
6095+
-- - #VUID-VkGraphicsPipelineCreateInfo-layout-07827# If the pipeline
6096+
-- includes a
60926097
-- <https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#pipelines-graphics-subsets-complete complete set of state>
60936098
-- specified entirely by libraries, and each library was created with a
60946099
-- 'Vulkan.Core10.Handles.PipelineLayout' created without
60956100
-- 'Vulkan.Core10.Enums.PipelineLayoutCreateFlagBits.PIPELINE_LAYOUT_CREATE_INDEPENDENT_SETS_BIT_EXT',
6096-
-- then @layout@ /must/ be a valid
6097-
-- 'Vulkan.Core10.Handles.PipelineLayout' that is
6101+
-- then @layout@ /must/ be
60986102
-- <https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#descriptorsets-compatibility compatible>
60996103
-- with the layouts in those libraries
61006104
--
@@ -6105,8 +6109,7 @@ instance Zero PipelineDepthStencilStateCreateInfo where
61056109
-- specified entirely by libraries, and each library was created with a
61066110
-- 'Vulkan.Core10.Handles.PipelineLayout' created with
61076111
-- 'Vulkan.Core10.Enums.PipelineLayoutCreateFlagBits.PIPELINE_LAYOUT_CREATE_INDEPENDENT_SETS_BIT_EXT',
6108-
-- then @layout@ /must/ be a valid
6109-
-- 'Vulkan.Core10.Handles.PipelineLayout' that is
6112+
-- then @layout@ /must/ be
61106113
-- <https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#descriptorsets-compatibility compatible>
61116114
-- with the union of the libraries\' pipeline layouts other than the
61126115
-- inclusion\/exclusion of
@@ -6120,8 +6123,7 @@ instance Zero PipelineDepthStencilStateCreateInfo where
61206123
-- specified entirely by libraries, and each library was created with a
61216124
-- 'Vulkan.Core10.Handles.PipelineLayout' created with
61226125
-- 'Vulkan.Core10.Enums.PipelineLayoutCreateFlagBits.PIPELINE_LAYOUT_CREATE_INDEPENDENT_SETS_BIT_EXT',
6123-
-- then @layout@ /must/ be a valid
6124-
-- 'Vulkan.Core10.Handles.PipelineLayout' that is
6126+
-- then @layout@ /must/ be
61256127
-- <https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#descriptorsets-compatibility compatible>
61266128
-- with the union of the libraries\' pipeline layouts
61276129
--

src/Vulkan/Core11/Promoted_From_VK_KHR_device_group.hs

-8
Original file line numberDiff line numberDiff line change
@@ -440,14 +440,6 @@ foreign import ccall
440440
-- - #VUID-vkCmdDispatchBase-None-02700# A valid pipeline /must/ be bound
441441
-- to the pipeline bind point used by this command
442442
--
443-
-- - #VUID-vkCmdDispatchBase-commandBuffer-02701# If the
444-
-- 'Vulkan.Core10.Handles.Pipeline' object bound to the pipeline bind
445-
-- point used by this command requires any dynamic state, that state
446-
-- /must/ have been set or inherited (if the
447-
-- @VK_NV_inherited_viewport_scissor@ extension is enabled) for
448-
-- @commandBuffer@, and done so after any previously bound pipeline
449-
-- with the corresponding state not specified as dynamic
450-
--
451443
-- - #VUID-vkCmdDispatchBase-None-02859# There /must/ not have been any
452444
-- calls to dynamic state setting commands for any state not specified
453445
-- as dynamic in the 'Vulkan.Core10.Handles.Pipeline' object bound to

src/Vulkan/Core11/Promoted_From_VK_KHR_get_physical_device_properties2.hs

+2
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,7 @@ import {-# SOURCE #-} Vulkan.Extensions.VK_KHR_performance_query (PhysicalDevice
222222
import {-# SOURCE #-} Vulkan.Extensions.VK_KHR_performance_query (PhysicalDevicePerformanceQueryPropertiesKHR)
223223
import {-# SOURCE #-} Vulkan.Core13.Promoted_From_VK_EXT_pipeline_creation_cache_control (PhysicalDevicePipelineCreationCacheControlFeatures)
224224
import {-# SOURCE #-} Vulkan.Extensions.VK_KHR_pipeline_executable_properties (PhysicalDevicePipelineExecutablePropertiesFeaturesKHR)
225+
import {-# SOURCE #-} Vulkan.Extensions.VK_EXT_pipeline_library_group_handles (PhysicalDevicePipelineLibraryGroupHandlesFeaturesEXT)
225226
import {-# SOURCE #-} Vulkan.Extensions.VK_EXT_pipeline_properties (PhysicalDevicePipelinePropertiesFeaturesEXT)
226227
import {-# SOURCE #-} Vulkan.Extensions.VK_EXT_pipeline_protected_access (PhysicalDevicePipelineProtectedAccessFeaturesEXT)
227228
import {-# SOURCE #-} Vulkan.Extensions.VK_EXT_pipeline_robustness (PhysicalDevicePipelineRobustnessFeaturesEXT)
@@ -855,6 +856,7 @@ instance Extensible PhysicalDeviceFeatures2 where
855856
| Just Refl <- eqT @e @PhysicalDeviceRayTracingInvocationReorderFeaturesNV = Just f
856857
| Just Refl <- eqT @e @PhysicalDeviceSwapchainMaintenance1FeaturesEXT = Just f
857858
| Just Refl <- eqT @e @PhysicalDeviceShaderCoreBuiltinsFeaturesARM = Just f
859+
| Just Refl <- eqT @e @PhysicalDevicePipelineLibraryGroupHandlesFeaturesEXT = Just f
858860
| Just Refl <- eqT @e @PhysicalDeviceFaultFeaturesEXT = Just f
859861
| Just Refl <- eqT @e @PhysicalDeviceOpticalFlowFeaturesNV = Just f
860862
| Just Refl <- eqT @e @PhysicalDeviceAddressBindingReportFeaturesEXT = Just f

0 commit comments

Comments
 (0)