mirror of
https://github.com/status-im/Vulkan-Docs.git
synced 2025-03-02 15:00:46 +00:00
60 lines
2.4 KiB
Plaintext
60 lines
2.4 KiB
Plaintext
|
// WARNING: DO NOT MODIFY! This file is automatically generated from the vk.xml registry
|
||
|
ifndef::doctype-manpage[]
|
||
|
.Valid Usage
|
||
|
********************************************************************************
|
||
|
endif::doctype-manpage[]
|
||
|
ifdef::doctype-manpage[]
|
||
|
Valid Usage
|
||
|
-----------
|
||
|
endif::doctype-manpage[]
|
||
|
* pname:commandBuffer must: be a valid sname:VkCommandBuffer handle
|
||
|
* pname:dstBuffer must: be a valid sname:VkBuffer handle
|
||
|
* pname:pData must: be a pointer to an array of pname:dataSize/4 basetype:uint32_t values
|
||
|
* pname:commandBuffer must: be in the recording state
|
||
|
* The sname:VkCommandPool that pname:commandBuffer was allocated from must: support transfer, graphics or compute operations
|
||
|
* This command must: only be called outside of a render pass instance
|
||
|
* Each of pname:commandBuffer and pname:dstBuffer must: have been created, allocated or retrieved from the same sname:VkDevice
|
||
|
* The sum of pname:dstOffset and pname:dataSize must: be less than or equal to the size of pname:dstBuffer
|
||
|
* pname:dstBuffer must: have been created with pname:VK_BUFFER_USAGE_TRANSFER_DST_BIT usage flag
|
||
|
* The value of pname:dstOffset must: be a multiple of `4`
|
||
|
* The value of pname:dataSize must: be greater than `0`
|
||
|
* The value of pname:dataSize must: be less than `65536`
|
||
|
* The value of pname:dataSize must: be a multiple of `4`
|
||
|
ifndef::doctype-manpage[]
|
||
|
********************************************************************************
|
||
|
endif::doctype-manpage[]
|
||
|
|
||
|
ifndef::doctype-manpage[]
|
||
|
.Host Synchronization
|
||
|
********************************************************************************
|
||
|
endif::doctype-manpage[]
|
||
|
ifdef::doctype-manpage[]
|
||
|
Host Synchronization
|
||
|
--------------------
|
||
|
endif::doctype-manpage[]
|
||
|
* Host access to pname:commandBuffer must: be externally synchronized
|
||
|
ifndef::doctype-manpage[]
|
||
|
********************************************************************************
|
||
|
endif::doctype-manpage[]
|
||
|
|
||
|
ifndef::doctype-manpage[]
|
||
|
.Command Properties
|
||
|
********************************************************************************
|
||
|
endif::doctype-manpage[]
|
||
|
ifdef::doctype-manpage[]
|
||
|
Command Properties
|
||
|
------------------
|
||
|
endif::doctype-manpage[]
|
||
|
[options="header", width="100%"]
|
||
|
|=====================
|
||
|
|Command Buffer Levels|Render Pass Scope|Supported Queue Types
|
||
|
|Primary +
|
||
|
Secondary|Outside|TRANSFER +
|
||
|
GRAPHICS +
|
||
|
COMPUTE
|
||
|
|=====================
|
||
|
ifndef::doctype-manpage[]
|
||
|
********************************************************************************
|
||
|
endif::doctype-manpage[]
|
||
|
|