mirror of
https://github.com/status-im/Vulkan-Docs.git
synced 2025-01-10 22:15:59 +00:00
Fix incorrect SPIR-V instruction names
This commit is contained in:
parent
8555ed865c
commit
8163debe2f
@ -377,14 +377,14 @@ check for the supported properties of individual formats.
|
|||||||
pname:shaderStorageImageReadWithoutFormat indicates whether storage
|
pname:shaderStorageImageReadWithoutFormat indicates whether storage
|
||||||
images require a format qualifier to be specified when reading from
|
images require a format qualifier to be specified when reading from
|
||||||
storage images. If this feature is not enabled, the code:OpImageRead
|
storage images. If this feature is not enabled, the code:OpImageRead
|
||||||
instruction mustnot: have an code:OpImageType of code:Unknown. This also
|
instruction mustnot: have an code:OpTypeImage of code:Unknown. This also
|
||||||
indicates whether shader modules can: declare the
|
indicates whether shader modules can: declare the
|
||||||
code:StorageImageReadWithoutFormat capability.
|
code:StorageImageReadWithoutFormat capability.
|
||||||
* [[features-features-shaderStorageImageWriteWithoutFormat]]
|
* [[features-features-shaderStorageImageWriteWithoutFormat]]
|
||||||
pname:shaderStorageImageWriteWithoutFormat indicates whether storage
|
pname:shaderStorageImageWriteWithoutFormat indicates whether storage
|
||||||
images require a format qualifier to be specified when writing to
|
images require a format qualifier to be specified when writing to
|
||||||
storage images. If this feature is not enabled, the code:OpImageWrite
|
storage images. If this feature is not enabled, the code:OpImageWrite
|
||||||
instruction mustnot: have an code:OpImageType of code:Unknown. This also
|
instruction mustnot: have an code:OpTypeImage of code:Unknown. This also
|
||||||
indicates whether shader modules can: declare the
|
indicates whether shader modules can: declare the
|
||||||
code:StorageImageWriteWithoutFormat capability.
|
code:StorageImageWriteWithoutFormat capability.
|
||||||
* [[features-features-shaderUniformBufferArrayDynamicIndexing]]
|
* [[features-features-shaderUniformBufferArrayDynamicIndexing]]
|
||||||
|
@ -322,7 +322,7 @@ the fragment shader is executed in.
|
|||||||
The fragment shader input variables listed by code:OpEntryPoint with the
|
The fragment shader input variables listed by code:OpEntryPoint with the
|
||||||
code:Input storage class and a decoration of code:InputAttachmentIndex
|
code:Input storage class and a decoration of code:InputAttachmentIndex
|
||||||
form the _fragment input attachment interface_. These variables must:
|
form the _fragment input attachment interface_. These variables must:
|
||||||
be declared with a type of code:OpImageType and a code:Dim operand
|
be declared with a type of code:OpTypeImage and a code:Dim operand
|
||||||
of code:SubpassData.
|
of code:SubpassData.
|
||||||
|
|
||||||
A fragment shader input variable identified with a code:InputAttachmentIndex
|
A fragment shader input variable identified with a code:InputAttachmentIndex
|
||||||
@ -613,7 +613,7 @@ depending on the specific resources.
|
|||||||
[[interfaces-resources-layout-std140]]
|
[[interfaces-resources-layout-std140]]
|
||||||
*Standard Uniform Buffer Layout*
|
*Standard Uniform Buffer Layout*
|
||||||
|
|
||||||
Member variables of an code:OpTypeStructure with storage class of
|
Member variables of an code:OpTypeStruct with storage class of
|
||||||
code:Uniform and a decoration of code:Block (uniform buffers) must: be laid
|
code:Uniform and a decoration of code:Block (uniform buffers) must: be laid
|
||||||
out according to the following rules.
|
out according to the following rules.
|
||||||
|
|
||||||
@ -648,7 +648,7 @@ The *std140 layout* in GLSL satisfies these rules.
|
|||||||
[[interfaces-resources-layout-std430]]
|
[[interfaces-resources-layout-std430]]
|
||||||
*Standard Storage Buffer Layout*
|
*Standard Storage Buffer Layout*
|
||||||
|
|
||||||
Member variables of an code:OpTypeStructure with a storage class of
|
Member variables of an code:OpTypeStruct with a storage class of
|
||||||
code:PushConstant (push constants), or a storage class of code:Uniform
|
code:PushConstant (push constants), or a storage class of code:Uniform
|
||||||
with a decoration of code:BufferBlock (storage buffers) must: be laid
|
with a decoration of code:BufferBlock (storage buffers) must: be laid
|
||||||
out as <<interfaces-resources-layout-std140,above>>, except
|
out as <<interfaces-resources-layout-std140,above>>, except
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
Image Operations are steps performed by SPIR-V image instructions, where
|
Image Operations are steps performed by SPIR-V image instructions, where
|
||||||
those instructions which take an code:OpTypeImage (representing a
|
those instructions which take an code:OpTypeImage (representing a
|
||||||
sname:VkImageView) or code:OpTypeImageSampler (representing a
|
sname:VkImageView) or code:OpTypeSampledImage (representing a
|
||||||
(sname:VkImageView, sname:VkSampler) pair) and texel coordinates as
|
(sname:VkImageView, sname:VkSampler) pair) and texel coordinates as
|
||||||
operands, and return a value based on one or more neighboring texture
|
operands, and return a value based on one or more neighboring texture
|
||||||
elements (_texels_) in the image.
|
elements (_texels_) in the image.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user