@@ -5466,11 +5466,13 @@ foreign import ccall
5466
5466
--
5467
5467
-- - #VUID-vkCmdDrawIndexed-None-07312# An index buffer /must/ be bound
5468
5468
--
5469
- -- - #VUID-vkCmdDrawIndexed-firstIndex-04932# (@indexSize@ ×
5470
- -- (@firstIndex@ + @indexCount@) + @offset@) /must/ be less than or
5471
- -- equal to the size of the bound index buffer, with @indexSize@ being
5472
- -- based on the type specified by @indexType@, where the index buffer,
5473
- -- @indexType@, and @offset@ are specified via 'cmdBindIndexBuffer'
5469
+ -- - #VUID-vkCmdDrawIndexed-robustBufferAccess2-07788# If
5470
+ -- <https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#features-robustBufferAccess2 robustBufferAccess2>
5471
+ -- is not enabled, (@indexSize@ × (@firstIndex@ + @indexCount@) +
5472
+ -- @offset@) /must/ be less than or equal to the size of the bound
5473
+ -- index buffer, with @indexSize@ being based on the type specified by
5474
+ -- @indexType@, where the index buffer, @indexType@, and @offset@ are
5475
+ -- specified via 'cmdBindIndexBuffer'
5474
5476
--
5475
5477
-- == Valid Usage (Implicit)
5476
5478
--
@@ -10822,9 +10824,6 @@ foreign import ccall
10822
10824
-- 'Vulkan.Core12.Promoted_From_VK_EXT_separate_stencil_usage.ImageStencilUsageCreateInfo'::@stencilUsage@
10823
10825
-- used to create @dstImage@
10824
10826
--
10825
- -- - #VUID-vkCmdCopyImage-srcImage-07745# @srcImage@ and @dstImage@
10826
- -- /must/ have the same sample count
10827
- --
10828
10827
-- == Valid Usage (Implicit)
10829
10828
--
10830
10829
-- - #VUID-vkCmdCopyImage-commandBuffer-parameter# @commandBuffer@ /must/
@@ -14636,6 +14635,29 @@ foreign import ccall
14636
14635
-- active in a primary command buffer when secondary command buffers are
14637
14636
-- executed are considered active for those secondary command buffers.
14638
14637
--
14638
+ -- Furthermore, if the query is started within a video coding scope, the
14639
+ -- following command buffer states are initialized for the query type:
14640
+ --
14641
+ -- - #queries-operation-active-query-index# The /active_query_index/ is
14642
+ -- set to the value specified by @query@.
14643
+ --
14644
+ -- - #queries-operation-last-activatable-query-index# The /last
14645
+ -- activatable query index/ is also set to the value specified by
14646
+ -- @query@.
14647
+ --
14648
+ -- Each
14649
+ -- <https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#video-coding video coding operation>
14650
+ -- stores a result to the query corresponding to the current active query
14651
+ -- index, followed by incrementing the active query index. If the active
14652
+ -- query index gets incremented past the last activatable query index,
14653
+ -- issuing any further video coding operations results in undefined
14654
+ -- behavior.
14655
+ --
14656
+ -- Note
14657
+ --
14658
+ -- In practice, this means that currently no more than a single video
14659
+ -- coding operation /must/ be issued between a begin and end query pair.
14660
+ --
14639
14661
-- This command defines an execution dependency between other query
14640
14662
-- commands that reference the same query.
14641
14663
--
@@ -14718,13 +14740,60 @@ foreign import ccall
14718
14740
-- current subpass’s view mask /must/ be less than or equal to the
14719
14741
-- number of queries in @queryPool@
14720
14742
--
14743
+ -- - #VUID-vkCmdBeginQuery-queryType-07126# If the @queryType@ used to
14744
+ -- create @queryPool@ was @VK_QUERY_TYPE_RESULT_STATUS_ONLY_KHR@, then
14745
+ -- the 'Vulkan.Core10.Handles.CommandPool' that @commandBuffer@ was
14746
+ -- allocated from /must/ have been created with a queue family index
14747
+ -- that supports
14748
+ -- <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/html/vkspec.html#queries-result-status-only result status queries>,
14749
+ -- as indicated by
14750
+ -- <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/html/vkspec.html#VkQueueFamilyQueryResultStatusPropertiesKHR VkQueueFamilyQueryResultStatusPropertiesKHR>::@queryResultStatusSupport@
14751
+ --
14752
+ -- - #VUID-vkCmdBeginQuery-None-07127# If there is a bound video session,
14753
+ -- then there /must/ be no
14754
+ -- <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/html/vkspec.html#queries-operation-active active>
14755
+ -- queries
14756
+ --
14757
+ -- - #VUID-vkCmdBeginQuery-queryType-07128# If the @queryType@ used to
14758
+ -- create @queryPool@ was @VK_QUERY_TYPE_RESULT_STATUS_ONLY_KHR@ and
14759
+ -- there is a bound video session, then @queryPool@ /must/ have been
14760
+ -- created with a
14761
+ -- <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/html/vkspec.html#VkVideoProfileInfoKHR VkVideoProfileInfoKHR>
14762
+ -- structure included in the @pNext@ chain of
14763
+ -- 'Vulkan.Core10.Query.QueryPoolCreateInfo' identical to the one
14764
+ -- specified in
14765
+ -- <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/html/vkspec.html#VkVideoSessionCreateInfoKHR VkVideoSessionCreateInfoKHR>::@pVideoProfile@
14766
+ -- the bound video session was created with
14767
+ --
14721
14768
-- - #VUID-vkCmdBeginQuery-queryType-04862# If the @queryType@ used to
14722
14769
-- create @queryPool@ was
14723
- -- @VK_QUERY_TYPE_VIDEO_ENCODE_BITSTREAM_BUFFER_RANGE_KHR@ the
14770
+ -- @VK_QUERY_TYPE_VIDEO_ENCODE_BITSTREAM_BUFFER_RANGE_KHR@, then the
14724
14771
-- 'Vulkan.Core10.Handles.CommandPool' that @commandBuffer@ was
14725
14772
-- allocated from /must/ support
14726
14773
-- <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/html/vkspec.html#video-encode-operations video encode operations>
14727
14774
--
14775
+ -- - #VUID-vkCmdBeginQuery-queryType-07129# If the @queryType@ used to
14776
+ -- create @queryPool@ was
14777
+ -- @VK_QUERY_TYPE_VIDEO_ENCODE_BITSTREAM_BUFFER_RANGE_KHR@, then there
14778
+ -- /must/ be a bound video session
14779
+ --
14780
+ -- - #VUID-vkCmdBeginQuery-queryType-07130# If the @queryType@ used to
14781
+ -- create @queryPool@ was
14782
+ -- @VK_QUERY_TYPE_VIDEO_ENCODE_BITSTREAM_BUFFER_RANGE_KHR@ and there is
14783
+ -- a bound video session, then @queryPool@ /must/ have been created
14784
+ -- with a
14785
+ -- <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/html/vkspec.html#VkVideoProfileInfoKHR VkVideoProfileInfoKHR>
14786
+ -- structure included in the @pNext@ chain of
14787
+ -- 'Vulkan.Core10.Query.QueryPoolCreateInfo' identical to the one
14788
+ -- specified in
14789
+ -- <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/html/vkspec.html#VkVideoSessionCreateInfoKHR VkVideoSessionCreateInfoKHR>::@pVideoProfile@
14790
+ -- the bound video session was created with
14791
+ --
14792
+ -- - #VUID-vkCmdBeginQuery-queryType-07131# If the @queryType@ used to
14793
+ -- create @queryPool@ was not @VK_QUERY_TYPE_RESULT_STATUS_ONLY_KHR@ or
14794
+ -- @VK_QUERY_TYPE_VIDEO_ENCODE_BITSTREAM_BUFFER_RANGE_KHR@, then there
14795
+ -- /must/ be no bound video session
14796
+ --
14728
14797
-- - #VUID-vkCmdBeginQuery-queryPool-01922# @queryPool@ /must/ have been
14729
14798
-- created with a @queryType@ that differs from that of any queries
14730
14799
-- that are
@@ -15585,18 +15654,13 @@ foreign import ccall
15585
15654
--
15586
15655
-- - #VUID-vkCmdCopyQueryPoolResults-queryType-06901# If the @queryType@
15587
15656
-- used to create @queryPool@ was
15588
- -- @VK_QUERY_TYPE_RESULT_STATUS_ONLY_KHR@, @flags@ /must/ include
15657
+ -- @VK_QUERY_TYPE_RESULT_STATUS_ONLY_KHR@, then @flags@ /must/ include
15589
15658
-- @VK_QUERY_RESULT_WITH_STATUS_BIT_KHR@
15590
15659
--
15591
15660
-- - #VUID-vkCmdCopyQueryPoolResults-flags-06902# If @flags@ includes
15592
- -- @VK_QUERY_RESULT_WITH_STATUS_BIT_KHR@, it /must/ not include
15661
+ -- @VK_QUERY_RESULT_WITH_STATUS_BIT_KHR@, then it /must/ not include
15593
15662
-- 'Vulkan.Core10.Enums.QueryResultFlagBits.QUERY_RESULT_WITH_AVAILABILITY_BIT'
15594
15663
--
15595
- -- - #VUID-vkCmdCopyQueryPoolResults-queryType-06903# If the @queryType@
15596
- -- used to create @queryPool@ was
15597
- -- 'Vulkan.Core10.Enums.QueryType.QUERY_TYPE_PERFORMANCE_QUERY_KHR',
15598
- -- @flags@ /must/ not contain @VK_QUERY_RESULT_WITH_STATUS_BIT_KHR@
15599
- --
15600
15664
-- - #VUID-vkCmdCopyQueryPoolResults-None-07429# All queries used by the
15601
15665
-- command /must/ not be active
15602
15666
--
0 commit comments