Skip to content

Commit

Permalink
Bump vulkan version to v1.3.226
Browse files Browse the repository at this point in the history
  • Loading branch information
expipiplus1 committed Sep 5, 2022
1 parent 067506e commit 5fc52e3
Show file tree
Hide file tree
Showing 612 changed files with 22,363 additions and 7,486 deletions.
1 change: 1 addition & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Change Log

## WIP
- Bump API version to v1.3.226

## [3.20] - 2022-09-05
- Bump API version to v1.3.217
Expand Down
2 changes: 1 addition & 1 deletion generate-new/Vulkan-Docs
Submodule Vulkan-Docs updated 1072 files
106 changes: 98 additions & 8 deletions src/Vulkan/CStruct/Extends.hs

Large diffs are not rendered by default.

9 changes: 9 additions & 0 deletions src/Vulkan/Core10/APIConstants.hs
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ module Vulkan.Core10.APIConstants ( pattern LOD_CLAMP_NONE
, pattern SHADER_UNUSED_KHR
, MAX_GLOBAL_PRIORITY_SIZE_KHR
, pattern MAX_GLOBAL_PRIORITY_SIZE_KHR
, MAX_SHADER_MODULE_IDENTIFIER_SIZE_EXT
, pattern MAX_SHADER_MODULE_IDENTIFIER_SIZE_EXT
, pattern NULL_HANDLE
, IsHandle
, HasObjectType(..)
Expand Down Expand Up @@ -333,6 +335,13 @@ pattern MAX_GLOBAL_PRIORITY_SIZE_KHR :: forall a . Integral a => a
pattern MAX_GLOBAL_PRIORITY_SIZE_KHR = 16


type MAX_SHADER_MODULE_IDENTIFIER_SIZE_EXT = 32

-- No documentation found for TopLevel "VK_MAX_SHADER_MODULE_IDENTIFIER_SIZE_EXT"
pattern MAX_SHADER_MODULE_IDENTIFIER_SIZE_EXT :: forall a . Integral a => a
pattern MAX_SHADER_MODULE_IDENTIFIER_SIZE_EXT = 32


-- | VK_NULL_HANDLE - Reserved non-valid object handle
--
-- = See Also
Expand Down
44 changes: 30 additions & 14 deletions src/Vulkan/Core10/Buffer.hs
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ createBuffer :: forall a io
-- parameters affecting creation of the buffer.
(BufferCreateInfo a)
-> -- | @pAllocator@ controls host memory allocation as described in the
-- <https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#memory-allocation Memory Allocation>
-- <https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#memory-allocation Memory Allocation>
-- chapter.
("allocator" ::: Maybe AllocationCallbacks)
-> io (Buffer)
Expand Down Expand Up @@ -252,7 +252,7 @@ destroyBuffer :: forall io
-> -- | @buffer@ is the buffer to destroy.
Buffer
-> -- | @pAllocator@ controls host memory allocation as described in the
-- <https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#memory-allocation Memory Allocation>
-- <https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#memory-allocation Memory Allocation>
-- chapter.
("allocator" ::: Maybe AllocationCallbacks)
-> io ()
Expand Down Expand Up @@ -295,17 +295,17 @@ destroyBuffer device buffer allocator = liftIO . evalContT $ do
-- for the @physicalDevice@ that was used to create @device@
--
-- - #VUID-VkBufferCreateInfo-flags-00915# If the
-- <https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#features-sparseBinding sparse bindings>
-- <https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#features-sparseBinding sparseBinding>
-- feature is not enabled, @flags@ /must/ not contain
-- 'Vulkan.Core10.Enums.BufferCreateFlagBits.BUFFER_CREATE_SPARSE_BINDING_BIT'
--
-- - #VUID-VkBufferCreateInfo-flags-00916# If the
-- <https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#features-sparseResidencyBuffer sparse buffer residency>
-- <https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#features-sparseResidencyBuffer sparseResidencyBuffer>
-- feature is not enabled, @flags@ /must/ not contain
-- 'Vulkan.Core10.Enums.BufferCreateFlagBits.BUFFER_CREATE_SPARSE_RESIDENCY_BIT'
--
-- - #VUID-VkBufferCreateInfo-flags-00917# If the
-- <https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#features-sparseResidencyAliased sparse aliased residency>
-- <https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#features-sparseResidencyAliased sparseResidencyAliased>
-- feature is not enabled, @flags@ /must/ not contain
-- 'Vulkan.Core10.Enums.BufferCreateFlagBits.BUFFER_CREATE_SPARSE_ALIASED_BIT'
--
Expand All @@ -328,7 +328,8 @@ destroyBuffer device buffer allocator = liftIO . evalContT $ do
-- handle types specified in
-- 'Vulkan.Core11.Promoted_From_VK_KHR_external_memory.ExternalMemoryBufferCreateInfo'::@handleTypes@
--
-- - #VUID-VkBufferCreateInfo-flags-01887# If the protected memory
-- - #VUID-VkBufferCreateInfo-flags-01887# If the
-- <https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#features-protectedMemory protectedMemory>
-- feature is not enabled, @flags@ /must/ not contain
-- 'Vulkan.Core10.Enums.BufferCreateFlagBits.BUFFER_CREATE_PROTECTED_BIT'
--
Expand Down Expand Up @@ -365,11 +366,31 @@ destroyBuffer device buffer allocator = liftIO . evalContT $ do
-- - #VUID-VkBufferCreateInfo-flags-03338# If @flags@ includes
-- 'Vulkan.Core10.Enums.BufferCreateFlagBits.BUFFER_CREATE_DEVICE_ADDRESS_CAPTURE_REPLAY_BIT',
-- the
-- <https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#features-bufferDeviceAddressCaptureReplay bufferDeviceAddressCaptureReplay>
-- <https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#features-bufferDeviceAddressCaptureReplay bufferDeviceAddressCaptureReplay>
-- or
-- <https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#features-bufferDeviceAddressCaptureReplayEXT ::bufferDeviceAddressCaptureReplay>
-- <https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#features-bufferDeviceAddressCaptureReplayEXT bufferDeviceAddressCaptureReplayEXT>
-- feature /must/ be enabled
--
-- - #VUID-VkBufferCreateInfo-usage-04813# If @usage@ includes
-- @VK_BUFFER_USAGE_VIDEO_DECODE_SRC_BIT_KHR@,
-- @VK_BUFFER_USAGE_VIDEO_DECODE_DST_BIT_KHR@, then the @pNext@ chain
-- /must/ include a valid
-- <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/html/vkspec.html#VkVideoProfileListInfoKHR VkVideoProfileListInfoKHR>
-- structure with @profileCount@ greater than @0@ and @pProfiles@
-- including at least one
-- <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/html/vkspec.html#VkVideoProfileInfoKHR VkVideoProfileInfoKHR>::@videoCodecOperation@
-- specifying a decode operation
--
-- - #VUID-VkBufferCreateInfo-usage-04814# If @usage@ includes
-- @VK_BUFFER_USAGE_VIDEO_ENCODE_SRC_BIT_KHR@,
-- @VK_BUFFER_USAGE_VIDEO_ENCODE_DST_BIT_KHR@, then the @pNext@ chain
-- /must/ include a valid
-- <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/html/vkspec.html#VkVideoProfileListInfoKHR VkVideoProfileListInfoKHR>
-- structure with @profileCount@ greater than @0@ and @pProfiles@
-- including at least one
-- <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/html/vkspec.html#VkVideoProfileInfoKHR VkVideoProfileInfoKHR>::@videoCodecOperation@
-- specifying an encode operation
--
-- - #VUID-VkBufferCreateInfo-size-06409# @size@ /must/ be less than or
-- equal to
-- 'Vulkan.Core13.Promoted_From_VK_KHR_maintenance4.PhysicalDeviceMaintenance4Properties'::@maxBufferSize@
Expand All @@ -387,13 +408,8 @@ destroyBuffer device buffer allocator = liftIO . evalContT $ do
-- 'Vulkan.Core12.Promoted_From_VK_KHR_buffer_device_address.BufferOpaqueCaptureAddressCreateInfo',
-- 'Vulkan.Extensions.VK_NV_dedicated_allocation.DedicatedAllocationBufferCreateInfoNV',
-- 'Vulkan.Core11.Promoted_From_VK_KHR_external_memory.ExternalMemoryBufferCreateInfo',
-- <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/html/vkspec.html#VkVideoDecodeH264ProfileEXT VkVideoDecodeH264ProfileEXT>,
-- <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/html/vkspec.html#VkVideoDecodeH265ProfileEXT VkVideoDecodeH265ProfileEXT>,
-- <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/html/vkspec.html#VkVideoEncodeH264ProfileEXT VkVideoEncodeH264ProfileEXT>,
-- <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/html/vkspec.html#VkVideoEncodeH265ProfileEXT VkVideoEncodeH265ProfileEXT>,
-- <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/html/vkspec.html#VkVideoProfileKHR VkVideoProfileKHR>,
-- or
-- <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/html/vkspec.html#VkVideoProfilesKHR VkVideoProfilesKHR>
-- <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/html/vkspec.html#VkVideoProfileListInfoKHR VkVideoProfileListInfoKHR>
--
-- - #VUID-VkBufferCreateInfo-sType-unique# The @sType@ value of each
-- struct in the @pNext@ chain /must/ be unique
Expand Down
16 changes: 8 additions & 8 deletions src/Vulkan/Core10/BufferView.hs
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ createBufferView :: forall a io
-- containing parameters to be used to create the buffer view.
(BufferViewCreateInfo a)
-> -- | @pAllocator@ controls host memory allocation as described in the
-- <https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#memory-allocation Memory Allocation>
-- <https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#memory-allocation Memory Allocation>
-- chapter.
("allocator" ::: Maybe AllocationCallbacks)
-> io (BufferView)
Expand Down Expand Up @@ -214,7 +214,7 @@ destroyBufferView :: forall io
-> -- | @bufferView@ is the buffer view to destroy.
BufferView
-> -- | @pAllocator@ controls host memory allocation as described in the
-- <https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#memory-allocation Memory Allocation>
-- <https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#memory-allocation Memory Allocation>
-- chapter.
("allocator" ::: Maybe AllocationCallbacks)
-> io ()
Expand Down Expand Up @@ -251,7 +251,7 @@ destroyBufferView device bufferView allocator = liftIO . evalContT $ do
-- elements given by (⌊@range@ \/ (texel block size)⌋ × (texels per
-- block)) where texel block size and texels per block are as defined
-- in the
-- <https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#formats-compatibility Compatible Formats>
-- <https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#formats-compatibility Compatible Formats>
-- table for @format@, /must/ be less than or equal to
-- 'Vulkan.Core10.DeviceInitialization.PhysicalDeviceLimits'::@maxTexelBufferElements@
--
Expand All @@ -264,7 +264,7 @@ destroyBufferView device bufferView allocator = liftIO . evalContT $ do
-- elements given by (⌊(size - @offset@) \/ (texel block size)⌋ ×
-- (texels per block)) where size is the size of @buffer@, and texel
-- block size and texels per block are as defined in the
-- <https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#formats-compatibility Compatible Formats>
-- <https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#formats-compatibility Compatible Formats>
-- table for @format@, /must/ be less than or equal to
-- 'Vulkan.Core10.DeviceInitialization.PhysicalDeviceLimits'::@maxTexelBufferElements@
--
Expand Down Expand Up @@ -301,12 +301,12 @@ destroyBufferView device bufferView allocator = liftIO . evalContT $ do
-- 'Vulkan.Core10.Handles.DeviceMemory' object
--
-- - #VUID-VkBufferViewCreateInfo-offset-02749# If the
-- <https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#features-texelBufferAlignment texelBufferAlignment>
-- <https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#features-texelBufferAlignment texelBufferAlignment>
-- feature is not enabled, @offset@ /must/ be a multiple of
-- 'Vulkan.Core10.DeviceInitialization.PhysicalDeviceLimits'::@minTexelBufferOffsetAlignment@
--
-- - #VUID-VkBufferViewCreateInfo-buffer-02750# If the
-- <https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#features-texelBufferAlignment texelBufferAlignment>
-- <https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#features-texelBufferAlignment texelBufferAlignment>
-- feature is enabled and if @buffer@ was created with @usage@
-- containing
-- 'Vulkan.Core10.Enums.BufferUsageFlagBits.BUFFER_USAGE_STORAGE_TEXEL_BUFFER_BIT',
Expand All @@ -320,7 +320,7 @@ destroyBufferView device bufferView allocator = liftIO . evalContT $ do
-- instead
--
-- - #VUID-VkBufferViewCreateInfo-buffer-02751# If the
-- <https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#features-texelBufferAlignment texelBufferAlignment>
-- <https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#features-texelBufferAlignment texelBufferAlignment>
-- feature is enabled and if @buffer@ was created with @usage@
-- containing
-- 'Vulkan.Core10.Enums.BufferUsageFlagBits.BUFFER_USAGE_UNIFORM_TEXEL_BUFFER_BIT',
Expand Down Expand Up @@ -389,7 +389,7 @@ data BufferViewCreateInfo (es :: [Type]) = BufferViewCreateInfo
-- 'Vulkan.Core10.APIConstants.WHOLE_SIZE', the range from @offset@ to the
-- end of the buffer is used. If 'Vulkan.Core10.APIConstants.WHOLE_SIZE' is
-- used and the remaining size of the buffer is not a multiple of the
-- <https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#texel-block-size texel block size>
-- <https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#texel-block-size texel block size>
-- of @format@, the nearest smaller multiple is used.
range :: DeviceSize
}
Expand Down
Loading

0 comments on commit 5fc52e3

Please sign in to comment.