Fix android buffer extension undefined format VUs
This commit is contained in:
parent
ee13fc355f
commit
ab99080c90
|
@ -690,9 +690,18 @@ ifdef::VK_VERSION_1_1,VK_KHR_get_physical_device_properties2[]
|
|||
flink:vkGetPhysicalDeviceQueueFamilyProperties2 for the
|
||||
pname:physicalDevice that was used to create pname:device
|
||||
endif::VK_VERSION_1_1,VK_KHR_get_physical_device_properties2[]
|
||||
ifdef::VK_ANDROID_external_memory_android_hardware_buffer[]
|
||||
ifndef::VK_ANDROID_external_memory_android_hardware_buffer[]
|
||||
* [[VUID-VkImageCreateInfo-format-00943]]
|
||||
pname:format must: not be ename:VK_FORMAT_UNDEFINED
|
||||
endif::VK_ANDROID_external_memory_android_hardware_buffer[]
|
||||
ifdef::VK_ANDROID_external_memory_android_hardware_buffer[]
|
||||
* If the pname:pNext chain contains an instance of
|
||||
slink:VkExternalFormatANDROID, and its member pname:externalFormat is
|
||||
non-zero the pname:format must: be ename:VK_FORMAT_UNDEFINED.
|
||||
* If the pname:pNext chain does not contain an instance of
|
||||
slink:VkExternalFormatANDROID, or does and its member
|
||||
pname:externalFormat is `0` the pname:format must: not be
|
||||
ename:VK_FORMAT_UNDEFINED.
|
||||
endif::VK_ANDROID_external_memory_android_hardware_buffer[]
|
||||
* [[VUID-VkImageCreateInfo-extent-00944]]
|
||||
pname:extent::pname:width must: be greater than `0`.
|
||||
|
@ -1130,8 +1139,7 @@ include::../api/structs/VkExternalFormatANDROID.txt[]
|
|||
|
||||
If pname:externalFormat is zero, the effect is as if the
|
||||
sname:VkExternalFormatANDROID structure was not present.
|
||||
Otherwise, the image will have the specified external format, and
|
||||
sname:VkImageCreateInfo::pname:format must: be ename:VK_FORMAT_UNDEFINED.
|
||||
Otherwise, the pname:image will have the specified external format.
|
||||
|
||||
.Valid Usage
|
||||
****
|
||||
|
|
Loading…
Reference in New Issue