mirror of
https://github.com/status-im/Vulkan-Docs.git
synced 2025-01-10 22:15:59 +00:00
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
|
flink:vkGetPhysicalDeviceQueueFamilyProperties2 for the
|
||||||
pname:physicalDevice that was used to create pname:device
|
pname:physicalDevice that was used to create pname:device
|
||||||
endif::VK_VERSION_1_1,VK_KHR_get_physical_device_properties2[]
|
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]]
|
* [[VUID-VkImageCreateInfo-format-00943]]
|
||||||
pname:format must: not be ename:VK_FORMAT_UNDEFINED
|
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[]
|
endif::VK_ANDROID_external_memory_android_hardware_buffer[]
|
||||||
* [[VUID-VkImageCreateInfo-extent-00944]]
|
* [[VUID-VkImageCreateInfo-extent-00944]]
|
||||||
pname:extent::pname:width must: be greater than `0`.
|
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
|
If pname:externalFormat is zero, the effect is as if the
|
||||||
sname:VkExternalFormatANDROID structure was not present.
|
sname:VkExternalFormatANDROID structure was not present.
|
||||||
Otherwise, the image will have the specified external format, and
|
Otherwise, the pname:image will have the specified external format.
|
||||||
sname:VkImageCreateInfo::pname:format must: be ename:VK_FORMAT_UNDEFINED.
|
|
||||||
|
|
||||||
.Valid Usage
|
.Valid Usage
|
||||||
****
|
****
|
||||||
|
Loading…
x
Reference in New Issue
Block a user