From 74fc29a0d6240a1fc1563eeef48ccf9c95d3fc50 Mon Sep 17 00:00:00 2001 From: William Henning Date: Mon, 6 Aug 2018 16:59:12 -0600 Subject: [PATCH] Fix several more "a" vs "an" typos --- .../indirectcommands.txt | 4 ++-- .../objecttable.txt | 2 +- chapters/copies.txt | 2 +- chapters/descriptorsets.txt | 6 ++--- chapters/extensions.txt | 2 +- chapters/features.txt | 24 +++++++++---------- chapters/initialization.txt | 2 +- chapters/memory.txt | 2 +- chapters/resources.txt | 8 +++---- chapters/synchronization.txt | 4 ++-- 10 files changed, 28 insertions(+), 28 deletions(-) diff --git a/chapters/VK_NVX_device_generated_commands/indirectcommands.txt b/chapters/VK_NVX_device_generated_commands/indirectcommands.txt index 9bbd568c..e7fe2d73 100644 --- a/chapters/VK_NVX_device_generated_commands/indirectcommands.txt +++ b/chapters/VK_NVX_device_generated_commands/indirectcommands.txt @@ -313,7 +313,7 @@ void cmdProcessAllSequences(cmd, objectTable, indirectCommandsLayout, pIndirectC include::../../validity/structs/VkIndirectCommandsLayoutCreateInfoNVX.txt[] -- -[open,refpage='VkIndirectCommandsLayoutUsageFlagBitsNVX',desc='Bitmask specifying allowed usage of a indirect commands layout',type='enums'] +[open,refpage='VkIndirectCommandsLayoutUsageFlagBitsNVX',desc='Bitmask specifying allowed usage of an indirect commands layout',type='enums'] -- Bits which can: be set in @@ -347,7 +347,7 @@ sname:VkIndirectCommandsLayoutUsageFlagsNVX is a bitmask type for setting a mask of zero or more slink:VkIndirectCommandsLayoutUsageFlagBitsNVX. -- -[open,refpage='vkDestroyIndirectCommandsLayoutNVX',desc='Destroy a object table',type='protos'] +[open,refpage='vkDestroyIndirectCommandsLayoutNVX',desc='Destroy an object table',type='protos'] -- Indirect command layouts are destroyed by: diff --git a/chapters/VK_NVX_device_generated_commands/objecttable.txt b/chapters/VK_NVX_device_generated_commands/objecttable.txt index 33f73549..e1460680 100644 --- a/chapters/VK_NVX_device_generated_commands/objecttable.txt +++ b/chapters/VK_NVX_device_generated_commands/objecttable.txt @@ -160,7 +160,7 @@ sname:VkObjectEntryUsageFlagsNVX is a bitmask type for setting a mask of zero or more slink:VkObjectEntryUsageFlagBitsNVX. -- -[open,refpage='vkDestroyObjectTableNVX',desc='Destroy a object table',type='protos'] +[open,refpage='vkDestroyObjectTableNVX',desc='Destroy an object table',type='protos'] -- To destroy an object table, call: diff --git a/chapters/copies.txt b/chapters/copies.txt index 3506ced8..27f6aaed 100644 --- a/chapters/copies.txt +++ b/chapters/copies.txt @@ -780,7 +780,7 @@ endif::VK_VERSION_1_1,VK_KHR_sampler_ycbcr_conversion[] include::../validity/structs/VkImageCopy.txt[] -- -[open,refpage='VkImageSubresourceLayers',desc='Structure specifying a image subresource layers',type='structs'] +[open,refpage='VkImageSubresourceLayers',desc='Structure specifying an image subresource layers',type='structs'] -- The sname:VkImageSubresourceLayers structure is defined as: diff --git a/chapters/descriptorsets.txt b/chapters/descriptorsets.txt index 70a2f3dd..437f5749 100644 --- a/chapters/descriptorsets.txt +++ b/chapters/descriptorsets.txt @@ -2361,7 +2361,7 @@ ifdef::VULKAN_1_1,VK_KHR_sampler_ycbcr_conversion[] ename:VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, and pname:dstSet was allocated with a layout that included immutable samplers for pname:dstBinding, then the pname:imageView member of each element of - pname:pImageInfo which corresponds to a immutable sampler that enables + pname:pImageInfo which corresponds to an immutable sampler that enables <> must: have been created with a sname:VkSamplerYcbcrConversionInfo structure in its pname:pNext chain with an _identically defined_ @@ -3104,7 +3104,7 @@ const VkDescriptorUpdateTemplateEntry descriptorUpdateTemplateEntries[] = }, }; -// create an descriptor update template for descriptor set updates +// create a descriptor update template for descriptor set updates const VkDescriptorUpdateTemplateCreateInfo createInfo = { VK_STRUCTURE_TYPE_DESCRIPTOR_UPDATE_TEMPLATE_CREATE_INFO, // sType @@ -3443,7 +3443,7 @@ const VkDescriptorUpdateTemplateEntry descriptorUpdateTemplateEntries[] = }; -// create an descriptor update template for descriptor set updates +// create a descriptor update template for descriptor set updates const VkDescriptorUpdateTemplateCreateInfo createInfo = { VK_STRUCTURE_TYPE_DESCRIPTOR_UPDATE_TEMPLATE_CREATE_INFO, // sType diff --git a/chapters/extensions.txt b/chapters/extensions.txt index c1bced1a..6fe154e7 100644 --- a/chapters/extensions.txt +++ b/chapters/extensions.txt @@ -308,7 +308,7 @@ by that layer are returned. include::../validity/protos/vkEnumerateDeviceExtensionProperties.txt[] -- -[open,refpage='VkExtensionProperties',desc='Structure specifying a extension properties',type='structs'] +[open,refpage='VkExtensionProperties',desc='Structure specifying an extension properties',type='structs'] -- The sname:VkExtensionProperties structure is defined as: diff --git a/chapters/features.txt b/chapters/features.txt index a1d6d37d..71db73bd 100755 --- a/chapters/features.txt +++ b/chapters/features.txt @@ -4236,7 +4236,7 @@ ifdef::VK_VERSION_1_1,VK_KHR_sampler_ycbcr_conversion[] of two. For the purposes of the constraints on copy extents, this format is treated as a compressed format with a 2{times}1 compressed texel block. - * ename:VK_FORMAT_G8_B8_R8_3PLANE_420_UNORM specifies a unsigned + * ename:VK_FORMAT_G8_B8_R8_3PLANE_420_UNORM specifies an unsigned normalized _multi-planar format_ that has an 8-bit G component in plane 0, an 8-bit B component in plane 1, and an 8-bit R component in plane 2. The horizontal and vertical dimensions of the R and B planes are halved @@ -4251,7 +4251,7 @@ ifdef::VK_VERSION_1_1,VK_KHR_sampler_ycbcr_conversion[] ename:VK_IMAGE_ASPECT_PLANE_2_BIT for the R plane. Images in this format must: be defined with a width and height that is a multiple of two. - * ename:VK_FORMAT_G8_B8R8_2PLANE_420_UNORM specifies a unsigned normalized + * ename:VK_FORMAT_G8_B8R8_2PLANE_420_UNORM specifies an unsigned normalized _multi-planar format_ that has an 8-bit G component in plane 0, and a two-component, 16-bit BR plane 1 consisting of an 8-bit B component in byte 0 and an 8-bit R component in byte 1. @@ -4265,7 +4265,7 @@ ifdef::VK_VERSION_1_1,VK_KHR_sampler_ycbcr_conversion[] ename:VK_IMAGE_ASPECT_PLANE_1_BIT for the BR plane. Images in this format must: be defined with a width and height that is a multiple of two. - * ename:VK_FORMAT_G8_B8_R8_3PLANE_422_UNORM specifies a unsigned + * ename:VK_FORMAT_G8_B8_R8_3PLANE_422_UNORM specifies an unsigned normalized _multi-planar format_ that has an 8-bit G component in plane 0, an 8-bit B component in plane 1, and an 8-bit R component in plane 2. The horizontal dimension of the R and B plane is halved relative to the @@ -4278,7 +4278,7 @@ ifdef::VK_VERSION_1_1,VK_KHR_sampler_ycbcr_conversion[] ename:VK_IMAGE_ASPECT_PLANE_2_BIT for the R plane. Images in this format must: be defined with a width that is a multiple of two. - * ename:VK_FORMAT_G8_B8R8_2PLANE_422_UNORM specifies a unsigned normalized + * ename:VK_FORMAT_G8_B8R8_2PLANE_422_UNORM specifies an unsigned normalized _multi-planar format_ that has an 8-bit G component in plane 0, and a two-component, 16-bit BR plane 1 consisting of an 8-bit B component in byte 0 and an 8-bit R component in byte 1. @@ -4291,7 +4291,7 @@ ifdef::VK_VERSION_1_1,VK_KHR_sampler_ycbcr_conversion[] ename:VK_IMAGE_ASPECT_PLANE_1_BIT for the BR plane. Images in this format must: be defined with a width that is a multiple of two. - * ename:VK_FORMAT_G8_B8_R8_3PLANE_444_UNORM specifies a unsigned + * ename:VK_FORMAT_G8_B8_R8_3PLANE_444_UNORM specifies an unsigned normalized _multi-planar format_ that has an 8-bit G component in plane 0, an 8-bit B component in plane 1, and an 8-bit R component in plane 2. Each plane has the same dimensions and each R, G and B component @@ -4585,7 +4585,7 @@ ifdef::VK_VERSION_1_1,VK_KHR_sampler_ycbcr_conversion[] of two. For the purposes of the constraints on copy extents, this format is treated as a compressed format with a 2{times}1 compressed texel block. - * ename:VK_FORMAT_G16_B16_R16_3PLANE_420_UNORM specifies a unsigned + * ename:VK_FORMAT_G16_B16_R16_3PLANE_420_UNORM specifies an unsigned normalized _multi-planar format_ that has a 16-bit G component in each 16-bit word of plane 0, a 16-bit B component in each 16-bit word of plane 1, and a 16-bit R component in each 16-bit word of plane 2. @@ -4601,7 +4601,7 @@ ifdef::VK_VERSION_1_1,VK_KHR_sampler_ycbcr_conversion[] ename:VK_IMAGE_ASPECT_PLANE_2_BIT for the R plane. Images in this format must: be defined with a width and height that is a multiple of two. - * ename:VK_FORMAT_G16_B16R16_2PLANE_420_UNORM specifies a unsigned + * ename:VK_FORMAT_G16_B16R16_2PLANE_420_UNORM specifies an unsigned normalized _multi-planar format_ that has a 16-bit G component in each 16-bit word of plane 0, and a two-component, 32-bit BR plane 1 consisting of a 16-bit B component in the word in bytes 0..1, and a @@ -4616,7 +4616,7 @@ ifdef::VK_VERSION_1_1,VK_KHR_sampler_ycbcr_conversion[] ename:VK_IMAGE_ASPECT_PLANE_1_BIT for the BR plane. Images in this format must: be defined with a width and height that is a multiple of two. - * ename:VK_FORMAT_G16_B16_R16_3PLANE_422_UNORM specifies a unsigned + * ename:VK_FORMAT_G16_B16_R16_3PLANE_422_UNORM specifies an unsigned normalized _multi-planar format_ that has a 16-bit G component in each 16-bit word of plane 0, a 16-bit B component in each 16-bit word of plane 1, and a 16-bit R component in each 16-bit word of plane 2. @@ -4630,7 +4630,7 @@ ifdef::VK_VERSION_1_1,VK_KHR_sampler_ycbcr_conversion[] ename:VK_IMAGE_ASPECT_PLANE_2_BIT for the R plane. Images in this format must: be defined with a width that is a multiple of two. - * ename:VK_FORMAT_G16_B16R16_2PLANE_422_UNORM specifies a unsigned + * ename:VK_FORMAT_G16_B16R16_2PLANE_422_UNORM specifies an unsigned normalized _multi-planar format_ that has a 16-bit G component in each 16-bit word of plane 0, and a two-component, 32-bit BR plane 1 consisting of a 16-bit B component in the word in bytes 0..1, and a @@ -4644,7 +4644,7 @@ ifdef::VK_VERSION_1_1,VK_KHR_sampler_ycbcr_conversion[] ename:VK_IMAGE_ASPECT_PLANE_1_BIT for the BR plane. Images in this format must: be defined with a width that is a multiple of two. - * ename:VK_FORMAT_G16_B16_R16_3PLANE_444_UNORM specifies a unsigned + * ename:VK_FORMAT_G16_B16_R16_3PLANE_444_UNORM specifies an unsigned normalized _multi-planar format_ that has a 16-bit G component in each 16-bit word of plane 0, a 16-bit B component in each 16-bit word of plane 1, and a 16-bit R component in each 16-bit word of plane 2. @@ -6295,7 +6295,7 @@ pname:format, pname:type, and pname:tiling. include::../validity/protos/vkGetPhysicalDeviceImageFormatProperties.txt[] -- -[open,refpage='VkImageFormatProperties',desc='Structure specifying a image format properties',type='structs'] +[open,refpage='VkImageFormatProperties',desc='Structure specifying an image format properties',type='structs'] -- The sname:VkImageFormatProperties structure is defined as: @@ -6453,7 +6453,7 @@ pname:sType and pname:pNext added for extensibility. include::../validity/structs/VkPhysicalDeviceImageFormatInfo2.txt[] -- -[open,refpage='VkImageFormatProperties2',desc='Structure specifying a image format properties',type='structs'] +[open,refpage='VkImageFormatProperties2',desc='Structure specifying an image format properties',type='structs'] -- The sname:VkImageFormatProperties2 structure is defined as: diff --git a/chapters/initialization.txt b/chapters/initialization.txt index dbba3424..0d519a30 100644 --- a/chapters/initialization.txt +++ b/chapters/initialization.txt @@ -163,7 +163,7 @@ endif::VK_VERSION_1_1,VK_KHR_get_physical_device_properties2[] [[initialization-instances]] == Instances -[open,refpage='VkInstance',desc='Opaque handle to a instance object',type='handles'] +[open,refpage='VkInstance',desc='Opaque handle to an instance object',type='handles'] -- There is no global state in Vulkan and all per-application state is stored diff --git a/chapters/memory.txt b/chapters/memory.txt index 46c37b29..2c561a8f 100644 --- a/chapters/memory.txt +++ b/chapters/memory.txt @@ -2783,7 +2783,7 @@ representation, images with external formats must: only be used as sampled images, must: only be sampled with a sampler that has Y'C~B~C~R~ conversion enabled, and must: have optimal tiling. -Images that will be backed by a Android hardware buffer can: use an external +Images that will be backed by an Android hardware buffer can: use an external format by setting slink:VkImageCreateInfo::pname:format to ename:VK_FORMAT_UNDEFINED and including an instance of slink:VkExternalFormatANDROID in the pname:pNext chain. diff --git a/chapters/resources.txt b/chapters/resources.txt index 2a5fe2cd..928f04c4 100644 --- a/chapters/resources.txt +++ b/chapters/resources.txt @@ -504,7 +504,7 @@ include::../validity/protos/vkDestroyBufferView.txt[] [[resources-images]] == Images -[open,refpage='VkImage',desc='Opaque handle to a image object',type='handles'] +[open,refpage='VkImage',desc='Opaque handle to an image object',type='handles'] -- Images represent multidimensional - up to 3 - arrays of data which can: be @@ -1506,7 +1506,7 @@ endif::VK_ANDROID_external_memory_android_hardware_buffer[] include::../validity/protos/vkGetImageSubresourceLayout.txt[] -- -[open,refpage='VkImageSubresource',desc='Structure specifying a image subresource',type='structs'] +[open,refpage='VkImageSubresource',desc='Structure specifying an image subresource',type='structs'] -- The sname:VkImageSubresource structure is defined as: @@ -1885,7 +1885,7 @@ endif::VK_EXT_sample_locations[] [[resources-image-views]] == Image Views -[open,refpage='VkImageView',desc='Opaque handle to a image view object',type='handles'] +[open,refpage='VkImageView',desc='Opaque handle to an image view object',type='handles'] -- Image objects are not directly accessed by pipeline shaders for reading or @@ -2609,7 +2609,7 @@ include::../validity/structs/VkImageViewUsageCreateInfo.txt[] endif::VK_VERSION_1_1,VK_KHR_maintenance2[] -[open,refpage='VkImageSubresourceRange',desc='Structure specifying a image subresource range',type='structs'] +[open,refpage='VkImageSubresourceRange',desc='Structure specifying an image subresource range',type='structs'] -- The sname:VkImageSubresourceRange structure is defined as: diff --git a/chapters/synchronization.txt b/chapters/synchronization.txt index 4d921330..c7c8c296 100644 --- a/chapters/synchronization.txt +++ b/chapters/synchronization.txt @@ -2843,7 +2843,7 @@ endif::VK_VERSION_1_1,VK_KHR_external_semaphore[] [[synchronization-events]] == Events -[open,refpage='VkEvent',desc='Opaque handle to a event object',type='handles'] +[open,refpage='VkEvent',desc='Opaque handle to an event object',type='handles'] -- Events are a synchronization primitive that can: be used to insert a @@ -3626,7 +3626,7 @@ include::../validity/structs/VkMemoryBarrier.txt[] Buffer memory barriers only apply to memory accesses involving a specific buffer range. -That is, a memory dependency formed from an buffer memory barrier is +That is, a memory dependency formed from a buffer memory barrier is <> to access via the specified buffer range. Buffer memory barriers can: also be used to define a