Fix some typos

- defeat "is is" in `vkEnumerateInstanceVersion`
- correct markup doc about em-dash (leftover from #642)
- fix #667 (cmdbuffer initial state mangled sentence)
- fix #687 (`VkFormat::` instead `VkFormatProperties::`)
This commit is contained in:
Petr Kraus 2018-03-23 17:42:44 +01:00
parent e958791a01
commit e7f6199b8b
4 changed files with 17 additions and 17 deletions

View File

@ -63,8 +63,8 @@ commands.
Each command buffer is always in one of the following states: Each command buffer is always in one of the following states:
Initial:: Initial::
When a command buffer is <<vkAllocateCommandBuffers, first allocated>> When a command buffer is <<vkAllocateCommandBuffers, allocated>>, it is
is in the _initial state_. in the _initial state_.
Some commands are able to _reset_ a command buffer, or a set of command Some commands are able to _reset_ a command buffer, or a set of command
buffers, back to this state from any of the executable, recording or buffers, back to this state from any of the executable, recording or
invalid state. invalid state.

View File

@ -48,23 +48,23 @@ Storage image loads are supported in all shader stages for image formats
which report support for the which report support for the
<<features-formats-properties,ename:VK_FORMAT_FEATURE_STORAGE_IMAGE_BIT>> <<features-formats-properties,ename:VK_FORMAT_FEATURE_STORAGE_IMAGE_BIT>>
feature bit via flink:vkGetPhysicalDeviceFormatProperties in feature bit via flink:vkGetPhysicalDeviceFormatProperties in
slink:VkFormat::pname:linearTilingFeatures (for images with linear tiling) slink:VkFormatProperties::pname:linearTilingFeatures (for images with linear tiling)
or slink:VkFormat::pname:optimalTilingFeatures (for images with optimal or slink:VkFormatProperties::pname:optimalTilingFeatures (for images with optimal
tiling). tiling).
Stores to storage images are supported in compute shaders for image formats Stores to storage images are supported in compute shaders for image formats
which report support for the ename:VK_FORMAT_FEATURE_STORAGE_IMAGE_BIT which report support for the ename:VK_FORMAT_FEATURE_STORAGE_IMAGE_BIT
feature via flink:vkGetPhysicalDeviceFormatProperties in feature via flink:vkGetPhysicalDeviceFormatProperties in
slink:VkFormat::pname:linearTilingFeatures (for images with linear tiling) slink:VkFormatProperties::pname:linearTilingFeatures (for images with linear tiling)
or slink:VkFormat::pname:optimalTilingFeatures (for images with optimal or slink:VkFormatProperties::pname:optimalTilingFeatures (for images with optimal
tiling). tiling).
Atomic operations on storage images are supported in compute shaders for Atomic operations on storage images are supported in compute shaders for
image formats which report support for the image formats which report support for the
<<features-formats-properties,ename:VK_FORMAT_FEATURE_STORAGE_IMAGE_ATOMIC_BIT>> <<features-formats-properties,ename:VK_FORMAT_FEATURE_STORAGE_IMAGE_ATOMIC_BIT>>
feature via flink:vkGetPhysicalDeviceFormatProperties in feature via flink:vkGetPhysicalDeviceFormatProperties in
slink:VkFormat::pname:linearTilingFeatures (for images with linear tiling) slink:VkFormatProperties::pname:linearTilingFeatures (for images with linear tiling)
or slink:VkFormat::pname:optimalTilingFeatures (for images with optimal or slink:VkFormatProperties::pname:optimalTilingFeatures (for images with optimal
tiling). tiling).
When the <<features-features-fragmentStoresAndAtomics, When the <<features-features-fragmentStoresAndAtomics,
@ -108,8 +108,8 @@ Sampled images are supported in all shader stages for image formats which
report support for the report support for the
<<features-formats-properties,ename:VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT>> <<features-formats-properties,ename:VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT>>
feature bit via flink:vkGetPhysicalDeviceFormatProperties in feature bit via flink:vkGetPhysicalDeviceFormatProperties in
slink:VkFormat::pname:linearTilingFeatures (for images with linear tiling) slink:VkFormatProperties::pname:linearTilingFeatures (for images with linear tiling)
or slink:VkFormat::pname:optimalTilingFeatures (for images with optimal or slink:VkFormatProperties::pname:optimalTilingFeatures (for images with optimal
tiling). tiling).
The image subresources for a sampled image must: be in the The image subresources for a sampled image must: be in the
@ -185,7 +185,7 @@ Load operations from uniform texel buffers are supported in all shader
stages for image formats which report support for the stages for image formats which report support for the
<<features-formats-properties,ename:VK_FORMAT_FEATURE_UNIFORM_TEXEL_BUFFER_BIT>> <<features-formats-properties,ename:VK_FORMAT_FEATURE_UNIFORM_TEXEL_BUFFER_BIT>>
feature bit via flink:vkGetPhysicalDeviceFormatProperties in feature bit via flink:vkGetPhysicalDeviceFormatProperties in
slink:VkFormat::pname:bufferFeatures. slink:VkFormatProperties::pname:bufferFeatures.
[[descriptorsets-storagetexelbuffer]] [[descriptorsets-storagetexelbuffer]]
@ -207,19 +207,19 @@ Storage texel buffer loads are supported in all shader stages for texel
buffer formats which report support for the buffer formats which report support for the
<<features-formats-properties,ename:VK_FORMAT_FEATURE_STORAGE_TEXEL_BUFFER_BIT>> <<features-formats-properties,ename:VK_FORMAT_FEATURE_STORAGE_TEXEL_BUFFER_BIT>>
feature bit via flink:vkGetPhysicalDeviceFormatProperties in feature bit via flink:vkGetPhysicalDeviceFormatProperties in
slink:VkFormat::pname:bufferFeatures. slink:VkFormatProperties::pname:bufferFeatures.
Stores to storage texel buffers are supported in compute shaders for texel Stores to storage texel buffers are supported in compute shaders for texel
buffer formats which report support for the buffer formats which report support for the
ename:VK_FORMAT_FEATURE_STORAGE_TEXEL_BUFFER_BIT feature via ename:VK_FORMAT_FEATURE_STORAGE_TEXEL_BUFFER_BIT feature via
flink:vkGetPhysicalDeviceFormatProperties in flink:vkGetPhysicalDeviceFormatProperties in
slink:VkFormat::pname:bufferFeatures. slink:VkFormatProperties::pname:bufferFeatures.
Atomic operations on storage texel buffers are supported in compute shaders Atomic operations on storage texel buffers are supported in compute shaders
for texel buffer formats which report support for the for texel buffer formats which report support for the
<<features-formats-properties,ename:VK_FORMAT_FEATURE_STORAGE_TEXEL_BUFFER_ATOMIC_BIT>> <<features-formats-properties,ename:VK_FORMAT_FEATURE_STORAGE_TEXEL_BUFFER_ATOMIC_BIT>>
feature via flink:vkGetPhysicalDeviceFormatProperties in feature via flink:vkGetPhysicalDeviceFormatProperties in
slink:VkFormat::pname:bufferFeatures. slink:VkFormatProperties::pname:bufferFeatures.
When the <<features-features-fragmentStoresAndAtomics, When the <<features-features-fragmentStoresAndAtomics,
pname:fragmentStoresAndAtomics>> feature is enabled, stores and atomic pname:fragmentStoresAndAtomics>> feature is enabled, stores and atomic

View File

@ -188,7 +188,7 @@ To query properties that can: be used in creating an instance, call:
include::../api/protos/vkEnumerateInstanceVersion.txt[] include::../api/protos/vkEnumerateInstanceVersion.txt[]
* pname:pApiVersion points to a code:uint32_t, which is is the version of * pname:pApiVersion points to a code:uint32_t, which is the version of
Vulkan supported by instance-level functionality, encoded as described Vulkan supported by instance-level functionality, encoded as described
in the <<fundamentals-versionnum,API Version Numbers and Semantics>> in the <<fundamentals-versionnum,API Version Numbers and Semantics>>
section. section.

View File

@ -63,13 +63,13 @@ in asciidoc markup).
UTF-8 characters outside the ASCII subset should be used sparingly, only UTF-8 characters outside the ASCII subset should be used sparingly, only
when needed for non-English names. when needed for non-English names.
Instead use asciidoc markup for special characters, if required. Instead use asciidoc markup for special characters, if required.
For example, two hyphens produces an en-dash: For example, two hyphens produces an em-dash:
[NOTE] [NOTE]
.Example Markup .Example Markup
==== ====
`An -- en-dash` -> An -- en-dash `An -- em-dash` -> An -- em-dash
==== ====
As an exception, multiplication should be marked with the unicode As an exception, multiplication should be marked with the unicode