Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 18 additions & 19 deletions chapters/resources.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -2475,10 +2475,10 @@ ifdef::VK_BASE_VERSION_1_1,VK_KHR_sampler_ycbcr_conversion[]
multiple of 2
ifdef::VK_IMG_format_pvrtc[]
* [[VUID-VkImageCreateInfo-format-09583]]
If pname:format is one of the etext:VK_FORMAT_PVTRC1_*_IMG formats,
If pname:format is one of the etext:VK_FORMAT_PVRTC1_*_IMG formats,
pname:extent.width must: be a power of 2
* [[VUID-VkImageCreateInfo-format-09584]]
If pname:format is one of the etext:VK_FORMAT_PVTRC1_*_IMG formats,
If pname:format is one of the etext:VK_FORMAT_PVRTC1_*_IMG formats,
pname:extent.height must: be a power of 2
endif::VK_IMG_format_pvrtc[]
endif::VK_BASE_VERSION_1_1,VK_KHR_sampler_ycbcr_conversion[]
Expand Down Expand Up @@ -3177,7 +3177,7 @@ To obtain additional format that are not provided by ename:VkFormat for an
Open Harmony OS hardware buffer, this structure should be included in the
pNext chain of another structure.
The return value of pname:externalFormat indicates whether an additional
format eists.
format exists.
If zero is returned, then no external format is used and other format
information should be used for implementations, and this is also true if
this structure is not present.
Expand Down Expand Up @@ -4737,9 +4737,8 @@ endif::VK_KHR_maintenance5[]
structure.
* pname:pCreateInfo is a pointer to a slink:VkImageCreateInfo structure
containing parameters affecting creation of the image to query.
* pname:pSubresource pSubresource is a pointer to a
slink:VkImageSubresource2 structure selecting a specific image
subresource for the query.
* pname:pSubresource is a pointer to a slink:VkImageSubresource2 structure
selecting a specific image subresource for the query.

:imageparam: pCreateInfo

Expand Down Expand Up @@ -6912,7 +6911,7 @@ include::{generated}/api/structs/VkImageViewSampleWeightCreateInfoQCOM.adoc[]
weight filter origin.
* pname:filterSize is a slink:VkExtent2D specifying weight filter
dimensions.
* pname:numPhases is number of sub-pixel filter phases.
* pname:numPhases is the number of sub-pixel filter phases.


The pname:filterCenter specifies the origin or center of the filter kernel,
Expand Down Expand Up @@ -9880,7 +9879,7 @@ include::{generated}/api/structs/VkTileMemoryRequirementsQCOM.adoc[]
* pname:sType is a elink:VkStructureType value identifying this structure.
* pname:pNext is `NULL` or a pointer to a structure extending this
structure.
* pname:size size is the size, in bytes, of the tile memory allocation
* pname:size is the size, in bytes, of the tile memory allocation
required for the resource.
* pname:alignment is the alignment, in bytes, of the offset within the
tile memory allocation required for the resource.
Expand Down Expand Up @@ -10057,7 +10056,7 @@ ifdef::VK_NV_external_memory_sci_buf[]
If the pname:memory was obtained by a memory import operation with
slink:VkExternalMemoryBufferCreateInfo::pname:handleTypes assigned to
ename:VK_EXTERNAL_MEMORY_HANDLE_TYPE_SCI_BUF_BIT_NV, the properties of
pname:buffer and the pname:memoryoffset must: be compatible with the
pname:buffer and the pname:memoryOffset must: be compatible with the
attributes used to create stext:NvSciBufObj, otherwise the implementation
will return ename:VK_ERROR_VALIDATION_FAILED.
endif::VK_NV_external_memory_sci_buf[]
Expand Down Expand Up @@ -10281,7 +10280,7 @@ ifdef::VK_NV_external_memory_sci_buf[]
If the pname:memory is allocated by a memory import operation with
slink:VkExternalMemoryBufferCreateInfo::pname:handleTypes assigned to
ename:VK_EXTERNAL_MEMORY_HANDLE_TYPE_SCI_BUF_BIT_NV, the properties of
pname:image and the pname:memoryoffset must: be compatible with the
pname:image and the pname:memoryOffset must: be compatible with the
attributes used to create stext:NvSciBufObj, otherwise the implementation
will return ename:VK_ERROR_VALIDATION_FAILED.
endif::VK_NV_external_memory_sci_buf[]
Expand Down Expand Up @@ -10992,7 +10991,7 @@ ifdef::VK_ARM_tensors[]
[NOTE]
====
The implementation-dependent limit, pname:bufferImageGranularity also
applies to tensors resources.
applies to tensor resources.
====

endif::VK_ARM_tensors[]
Expand Down Expand Up @@ -11277,7 +11276,7 @@ include::{generated}/api/protos/vkQueueSignalReleaseImageOHOS.adoc[]
completed, and the calling party is not required to perform additional
waiting before subsequent processes.
Otherwise, a native fence will be created and be signaled when the image
is ready for realse.
is ready for release.

include::{generated}/validity/protos/vkQueueSignalReleaseImageOHOS.adoc[]
--
Expand Down Expand Up @@ -11336,7 +11335,7 @@ include::{generated}/validity/structs/VkPhysicalDevicePresentationPropertiesOHOS
--
:refpage: VkSwapchainImageUsageFlagBitsOHOS

Bits which can: be set in slink:VkSwapchainImageCreateInfoOHOS::pname::usage
Bits which can: be set in slink:VkSwapchainImageCreateInfoOHOS::pname:usage
specifying the usage of swapchain image on Open Harmony OS platform are:

include::{generated}/api/enums/VkSwapchainImageUsageFlagBitsOHOS.adoc[]
Expand All @@ -11359,7 +11358,7 @@ zero or more elink:VkSwapchainImageUsageFlagBitsOHOS.
--
include::{generated}/api/basetypes/OHBufferHandle.adoc[]

The basetype:OHBufferHandle type is used for obtaining and transffering
The basetype:OHBufferHandle type is used for obtaining and transferring
information of buffer on Open Harmony OS platform.
It is defined in Open Harmony OS NDK headers.
--
Expand Down Expand Up @@ -11940,7 +11939,7 @@ include::{generated}/api/structs/VkImageFormatConstraintsInfoFUCHSIA.adoc[]
* pname:flags is reserved for future use
* pname:sysmemPixelFormat is a code:PixelFormatType value from the
`fuchsia.sysmem/image_formats.fidl` FIDL interface
* pname:colorSpaceCount the element count of pname:pColorSpaces
* pname:colorSpaceCount is the element count of pname:pColorSpaces
* pname:pColorSpaces is a pointer to an array of
slink:VkSysmemColorSpaceFUCHSIA structs of size pname:colorSpaceCount

Expand Down Expand Up @@ -12056,9 +12055,9 @@ include::{generated}/api/structs/VkBufferConstraintsInfoFUCHSIA.adoc[]
* pname:sType is a elink:VkStructureType value identifying this structure.
* pname:pNext is `NULL` or a pointer to a structure extending this
structure
* pname:createInfo a pointer to a slink:VkBufferCreateInfo struct
* pname:createInfo is a pointer to a slink:VkBufferCreateInfo struct
describing the buffer attributes for the buffer collection
* pname:requiredFormatFeatures bitmask of ename:VkFormatFeatureFlagBits
* pname:requiredFormatFeatures is a bitmask of ename:VkFormatFeatureFlagBits
required features of the buffers in the buffer collection
* pname:bufferCollectionConstraints is used to supply parameters for the
negotiation and allocation of the buffer collection
Expand Down Expand Up @@ -12201,13 +12200,13 @@ include::{generated}/api/structs/VkImportMemoryBufferCollectionFUCHSIA.adoc[]
* pname:pNext is `NULL` or a pointer to a structure extending this
structure
* pname:collection is the slink:VkBufferCollectionFUCHSIA handle
* pname:index the index of the buffer to import from pname:collection
* pname:index is the index of the buffer to import from pname:collection

.Valid Usage
****
* [[VUID-VkImportMemoryBufferCollectionFUCHSIA-index-06406]]
pname:index must: be less than the value retrieved as
slink:VkBufferCollectionPropertiesFUCHSIA:bufferCount
slink:VkBufferCollectionPropertiesFUCHSIA::pname:bufferCount
****

include::{generated}/validity/structs/VkImportMemoryBufferCollectionFUCHSIA.adoc[]
Expand Down