Skip to content

Commit 0a5f33b

Browse files
Rageking8oddhack
andauthored
Fix typos in resources.adoc chapter (#2622)
* Fix typos in `resources.adoc` chapter * Apply suggestion from @oddhack * Apply suggestion from @oddhack --------- Co-authored-by: Jon Leech <4693344+oddhack@users.noreply.github.com>
1 parent 6b230e5 commit 0a5f33b

File tree

1 file changed

+18
-19
lines changed

1 file changed

+18
-19
lines changed

chapters/resources.adoc

Lines changed: 18 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -2475,10 +2475,10 @@ ifdef::VK_BASE_VERSION_1_1,VK_KHR_sampler_ycbcr_conversion[]
24752475
multiple of 2
24762476
ifdef::VK_IMG_format_pvrtc[]
24772477
* [[VUID-VkImageCreateInfo-format-09583]]
2478-
If pname:format is one of the etext:VK_FORMAT_PVTRC1_*_IMG formats,
2478+
If pname:format is one of the etext:VK_FORMAT_PVRTC1_*_IMG formats,
24792479
pname:extent.width must: be a power of 2
24802480
* [[VUID-VkImageCreateInfo-format-09584]]
2481-
If pname:format is one of the etext:VK_FORMAT_PVTRC1_*_IMG formats,
2481+
If pname:format is one of the etext:VK_FORMAT_PVRTC1_*_IMG formats,
24822482
pname:extent.height must: be a power of 2
24832483
endif::VK_IMG_format_pvrtc[]
24842484
endif::VK_BASE_VERSION_1_1,VK_KHR_sampler_ycbcr_conversion[]
@@ -3177,7 +3177,7 @@ To obtain additional format that are not provided by ename:VkFormat for an
31773177
Open Harmony OS hardware buffer, this structure should be included in the
31783178
pNext chain of another structure.
31793179
The return value of pname:externalFormat indicates whether an additional
3180-
format eists.
3180+
format exists.
31813181
If zero is returned, then no external format is used and other format
31823182
information should be used for implementations, and this is also true if
31833183
this structure is not present.
@@ -4737,9 +4737,8 @@ endif::VK_KHR_maintenance5[]
47374737
structure.
47384738
* pname:pCreateInfo is a pointer to a slink:VkImageCreateInfo structure
47394739
containing parameters affecting creation of the image to query.
4740-
* pname:pSubresource pSubresource is a pointer to a
4741-
slink:VkImageSubresource2 structure selecting a specific image
4742-
subresource for the query.
4740+
* pname:pSubresource is a pointer to a slink:VkImageSubresource2 structure
4741+
selecting a specific image subresource for the query.
47434742

47444743
:imageparam: pCreateInfo
47454744

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

69176916

69186917
The pname:filterCenter specifies the origin or center of the filter kernel,
@@ -9880,7 +9879,7 @@ include::{generated}/api/structs/VkTileMemoryRequirementsQCOM.adoc[]
98809879
* pname:sType is a elink:VkStructureType value identifying this structure.
98819880
* pname:pNext is `NULL` or a pointer to a structure extending this
98829881
structure.
9883-
* pname:size size is the size, in bytes, of the tile memory allocation
9882+
* pname:size is the size, in bytes, of the tile memory allocation
98849883
required for the resource.
98859884
* pname:alignment is the alignment, in bytes, of the offset within the
98869885
tile memory allocation required for the resource.
@@ -10057,7 +10056,7 @@ ifdef::VK_NV_external_memory_sci_buf[]
1005710056
If the pname:memory was obtained by a memory import operation with
1005810057
slink:VkExternalMemoryBufferCreateInfo::pname:handleTypes assigned to
1005910058
ename:VK_EXTERNAL_MEMORY_HANDLE_TYPE_SCI_BUF_BIT_NV, the properties of
10060-
pname:buffer and the pname:memoryoffset must: be compatible with the
10059+
pname:buffer and the pname:memoryOffset must: be compatible with the
1006110060
attributes used to create stext:NvSciBufObj, otherwise the implementation
1006210061
will return ename:VK_ERROR_VALIDATION_FAILED.
1006310062
endif::VK_NV_external_memory_sci_buf[]
@@ -10281,7 +10280,7 @@ ifdef::VK_NV_external_memory_sci_buf[]
1028110280
If the pname:memory is allocated by a memory import operation with
1028210281
slink:VkExternalMemoryBufferCreateInfo::pname:handleTypes assigned to
1028310282
ename:VK_EXTERNAL_MEMORY_HANDLE_TYPE_SCI_BUF_BIT_NV, the properties of
10284-
pname:image and the pname:memoryoffset must: be compatible with the
10283+
pname:image and the pname:memoryOffset must: be compatible with the
1028510284
attributes used to create stext:NvSciBufObj, otherwise the implementation
1028610285
will return ename:VK_ERROR_VALIDATION_FAILED.
1028710286
endif::VK_NV_external_memory_sci_buf[]
@@ -10992,7 +10991,7 @@ ifdef::VK_ARM_tensors[]
1099210991
[NOTE]
1099310992
====
1099410993
The implementation-dependent limit, pname:bufferImageGranularity also
10995-
applies to tensors resources.
10994+
applies to tensor resources.
1099610995
====
1099710996

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

1128211281
include::{generated}/validity/protos/vkQueueSignalReleaseImageOHOS.adoc[]
1128311282
--
@@ -11336,7 +11335,7 @@ include::{generated}/validity/structs/VkPhysicalDevicePresentationPropertiesOHOS
1133611335
--
1133711336
:refpage: VkSwapchainImageUsageFlagBitsOHOS
1133811337

11339-
Bits which can: be set in slink:VkSwapchainImageCreateInfoOHOS::pname::usage
11338+
Bits which can: be set in slink:VkSwapchainImageCreateInfoOHOS::pname:usage
1134011339
specifying the usage of swapchain image on Open Harmony OS platform are:
1134111340

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

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

@@ -12056,9 +12055,9 @@ include::{generated}/api/structs/VkBufferConstraintsInfoFUCHSIA.adoc[]
1205612055
* pname:sType is a elink:VkStructureType value identifying this structure.
1205712056
* pname:pNext is `NULL` or a pointer to a structure extending this
1205812057
structure
12059-
* pname:createInfo a pointer to a slink:VkBufferCreateInfo struct
12058+
* pname:createInfo is a pointer to a slink:VkBufferCreateInfo struct
1206012059
describing the buffer attributes for the buffer collection
12061-
* pname:requiredFormatFeatures bitmask of ename:VkFormatFeatureFlagBits
12060+
* pname:requiredFormatFeatures is a bitmask of ename:VkFormatFeatureFlagBits
1206212061
required features of the buffers in the buffer collection
1206312062
* pname:bufferCollectionConstraints is used to supply parameters for the
1206412063
negotiation and allocation of the buffer collection
@@ -12201,13 +12200,13 @@ include::{generated}/api/structs/VkImportMemoryBufferCollectionFUCHSIA.adoc[]
1220112200
* pname:pNext is `NULL` or a pointer to a structure extending this
1220212201
structure
1220312202
* pname:collection is the slink:VkBufferCollectionFUCHSIA handle
12204-
* pname:index the index of the buffer to import from pname:collection
12203+
* pname:index is the index of the buffer to import from pname:collection
1220512204

1220612205
.Valid Usage
1220712206
****
1220812207
* [[VUID-VkImportMemoryBufferCollectionFUCHSIA-index-06406]]
1220912208
pname:index must: be less than the value retrieved as
12210-
slink:VkBufferCollectionPropertiesFUCHSIA:bufferCount
12209+
slink:VkBufferCollectionPropertiesFUCHSIA::pname:bufferCount
1221112210
****
1221212211

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

0 commit comments

Comments
 (0)