Vulkan-Docs/chapters/commonvalidity/query_begin_common.txt

40 lines
2.1 KiB
Plaintext
Raw Normal View History

Change log for June 23, 2019 Vulkan 1.1.112 spec update: * Update release number to 112. Github Issues: * Clarify that it is possible to use the <<memory-host, Host Memory>> pname:pfnReallocation callback to free memory in any case that pname:pfnFree could be used (public issue 973). Internal Issues: * Clarify range and precision of code:OpImageQueryLod in the discussion of scale factor and level-of-detail operation in the <<textures-normalized-operations, Normalized Texel Coordinate Operations>> section (internal issues 926, 1719). * Fix framebuffer layer valid usage statements for slink:VkRenderPassCreateInfo, slink:VkRenderPassCreateInfo2KHR, and slink:VkFramebufferCreateInfo (internal issue 1670). * Refactor common valid usage statements for flink:vkCmdBeginQuery and flink:vkCmdBeginQueryIndexedEXT (internal issue 1682). * Prohibit the ename:ename:VK_SAMPLER_YCBCR_RANGE_ITU_NARROW range from being used in slink:VkSamplerYcbcrConversionCreateInfo for formats with a bit depth less than 8 (internal issue 1688). * Add missing interactions with `<<VK_EXT_host_query_reset_usage>>` in the <<queries, Queries>> chapter (internal issue 1692). * Clean up error output from the `optimize-pdf` build script on success. * Fix an internal link to the <<spirvenv-correctly-rounded, Correctly Rounded>> section in the SPIR-V appendix by adding and referring to that anchor. * Fix extension version numbers in `vk.xml` for `VK_EXT_filter_cubic` and `VK_IMG_filter_cubic`. * Specify division precision for negative numbers, and remove statement that trigonometric functions have undefined precision, in the <<spirvenv-precision-operation, Precision and Operation of SPIR-V Instructions>> appendix.
2019-06-23 20:30:19 -07:00
* [[VUID-{refpage}-queryPool-01922]]
pname:queryPool must: have been created with a pname:queryType that
differs from that of any queries that are
<<queries-operation-active,active>> within pname:commandBuffer
* [[VUID-{refpage}-None-00807]]
All queries used by the command must: be unavailable
* [[VUID-{refpage}-queryType-00800]]
If the <<features-occlusionQueryPrecise,precise occlusion queries>>
feature is not enabled, or the pname:queryType used to create
pname:queryPool was not ename:VK_QUERY_TYPE_OCCLUSION, pname:flags must:
not contain ename:VK_QUERY_CONTROL_PRECISE_BIT
* [[VUID-{refpage}-query-00802]]
pname:query must: be less than the number of queries in pname:queryPool
* [[VUID-{refpage}-queryType-00803]]
If the pname:queryType used to create pname:queryPool was
ename:VK_QUERY_TYPE_OCCLUSION, the sname:VkCommandPool that
pname:commandBuffer was allocated from must: support graphics operations
* [[VUID-{refpage}-queryType-00804]]
If the pname:queryType used to create pname:queryPool was
ename:VK_QUERY_TYPE_PIPELINE_STATISTICS and any of the
pname:pipelineStatistics indicate graphics operations, the
sname:VkCommandPool that pname:commandBuffer was allocated from must:
support graphics operations
* [[VUID-{refpage}-queryType-00805]]
If the pname:queryType used to create pname:queryPool was
ename:VK_QUERY_TYPE_PIPELINE_STATISTICS and any of the
pname:pipelineStatistics indicate compute operations, the
sname:VkCommandPool that pname:commandBuffer was allocated from must:
support compute operations
ifdef::VK_VERSION_1_1[]
* [[VUID-{refpage}-commandBuffer-01885]]
pname:commandBuffer must: not be a protected command buffer
endif::VK_VERSION_1_1[]
ifdef::VK_VERSION_1_1,VK_KHR_multiview[]
* [[VUID-{refpage}-query-00808]]
If called within a render pass instance, the sum of pname:query and the
number of bits set in the current subpass's view mask must: be less than
or equal to the number of queries in pname:queryPool
endif::VK_VERSION_1_1,VK_KHR_multiview[]