Vulkan-Docs/doc/specs/vulkan/validity/structs/VkSparseMemoryBind.txt

22 lines
1.3 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[]
* If pname:memory is not sname:VK_NULL_HANDLE, pname:memory must: be a valid sname:VkDeviceMemory handle
* pname:flags must: be a valid combination of elink:VkSparseMemoryBindFlagBits values
* If pname:memory is not sname:VK_NULL_HANDLE, pname:memory and pname:memoryOffset must: match the memory requirements of the resource, as described in section <<resources-association>>
* If pname:memory is not sname:VK_NULL_HANDLE, pname:memory mustnot: have been created with a memory type that reports ename:VK_MEMORY_PROPERTY_LAZILY_ALLOCATED_BIT bit set
* pname:resourceOffset must: be less than the size of the resource
* The sum of pname:resourceOffset and pname:size must: be less than or equal to the size of the resource
* pname:memoryOffset must: be less than the size of pname:memory
* The sum of pname:memoryOffset and pname:size must: be less than or equal to the size of pname:memory
ifndef::doctype-manpage[]
********************************************************************************
endif::doctype-manpage[]