mirror of
https://github.com/status-im/Vulkan-Docs.git
synced 2025-02-18 17:28:16 +00:00
textures.txt: Fix typos
This commit is contained in:
parent
d8a5eb75fc
commit
43c9134c2c
@ -37,10 +37,10 @@ SPIR-V Image Instructions include the following functionality:
|
|||||||
used in the sampling operation based on additional coordinates.
|
used in the sampling operation based on additional coordinates.
|
||||||
** Instructions with code:Proj in the name apply homogeneous
|
** Instructions with code:Proj in the name apply homogeneous
|
||||||
<<textures-projection,projection>> to the coordinates.
|
<<textures-projection,projection>> to the coordinates.
|
||||||
* code:OpImageFetch and code:OpImageSparseFetch returns a single texel of
|
* code:OpImageFetch and code:OpImageSparseFetch return a single texel of
|
||||||
the image. No sampler is used.
|
the image. No sampler is used.
|
||||||
* code:OpImage*code:Gather and code:OpImageSparse*code:Gather read
|
* code:OpImage*code:Gather and code:OpImageSparse*code:Gather read
|
||||||
neighboring texels and <<textures-gather,returns a single component>> of
|
neighboring texels and <<textures-gather,return a single component>> of
|
||||||
each.
|
each.
|
||||||
* code:OpImageRead (and code:OpImageSparseRead) and code:OpImageWrite read
|
* code:OpImageRead (and code:OpImageSparseRead) and code:OpImageWrite read
|
||||||
and write, respectively, a texel in the image. No sampler is used.
|
and write, respectively, a texel in the image. No sampler is used.
|
||||||
@ -406,7 +406,7 @@ unnormalized texel coordinates, this is performed on the coordinates that
|
|||||||
result after <<textures-unnormalized-to-integer,conversion>> to integer
|
result after <<textures-unnormalized-to-integer,conversion>> to integer
|
||||||
texel coordinates.
|
texel coordinates.
|
||||||
|
|
||||||
If the integer texel coordinates satifies any of the conditions
|
If the integer texel coordinates satisfy any of the conditions
|
||||||
[latexmath]
|
[latexmath]
|
||||||
+++++++++++++++++++
|
+++++++++++++++++++
|
||||||
\begin{align*}
|
\begin{align*}
|
||||||
@ -523,7 +523,7 @@ elink:VkFormat), using the appropriate equations in
|
|||||||
<<fundamentals-fp16,16-Bit Floating-Point Numbers>>,
|
<<fundamentals-fp16,16-Bit Floating-Point Numbers>>,
|
||||||
<<fundamentals-fp11,Unsigned 11-Bit Floating-Point Numbers>>,
|
<<fundamentals-fp11,Unsigned 11-Bit Floating-Point Numbers>>,
|
||||||
<<fundamentals-fp10,Unsigned 10-Bit Floating-Point Numbers>>,
|
<<fundamentals-fp10,Unsigned 10-Bit Floating-Point Numbers>>,
|
||||||
<<fundamentals-fixedconf,Fixed-Point Data Conversion>>, and
|
<<fundamentals-fixedconv,Fixed-Point Data Conversion>>, and
|
||||||
<<textures-sexp-RGB,Shared Exponent to RGB>>.
|
<<textures-sexp-RGB,Shared Exponent to RGB>>.
|
||||||
|
|
||||||
If the image format is sRGB, the color components are first converted as if
|
If the image format is sRGB, the color components are first converted as if
|
||||||
@ -734,7 +734,7 @@ code to a boolean value.
|
|||||||
_Texel output instructions_ are SPIR-V image instructions that write to an
|
_Texel output instructions_ are SPIR-V image instructions that write to an
|
||||||
image. _Texel output operations_ are a set of steps that are performed on
|
image. _Texel output operations_ are a set of steps that are performed on
|
||||||
state, coordinates, and texel values while processing a texel output
|
state, coordinates, and texel values while processing a texel output
|
||||||
instruction, and which are common to some or all texel ouitput instructions.
|
instruction, and which are common to some or all texel output instructions.
|
||||||
They include the following steps, which are performed in the listed order:
|
They include the following steps, which are performed in the listed order:
|
||||||
|
|
||||||
* <<textures-output-validation,Validation operations>>
|
* <<textures-output-validation,Validation operations>>
|
||||||
@ -845,7 +845,7 @@ dPdy & =
|
|||||||
\end{align*}
|
\end{align*}
|
||||||
+++++++++++++++++++
|
+++++++++++++++++++
|
||||||
|
|
||||||
code:OpDPdx and code:OpDPdy must return: the same result as either
|
code:OpDPdx and code:OpDPdy must: return the same result as either
|
||||||
code:OpDPdxFine or code:OpDPdxCoarse and either code:OpDPdyFine or
|
code:OpDPdxFine or code:OpDPdxCoarse and either code:OpDPdyFine or
|
||||||
code:OpDPdyCoarse, respectively. Implementations must: make the same choice
|
code:OpDPdyCoarse, respectively. Implementations must: make the same choice
|
||||||
of either coarse or fine for both code:OpDPdx and code:OpDPdy, and
|
of either coarse or fine for both code:OpDPdx and code:OpDPdy, and
|
||||||
@ -929,7 +929,7 @@ transform the derivatives to per-face derivatives.
|
|||||||
|
|
||||||
=== Cube Map Face Selection
|
=== Cube Map Face Selection
|
||||||
|
|
||||||
The direction vector selects one of the cube maps face's layers based on the
|
The direction vector selects one of the cube map's faces based on the
|
||||||
largest magnitude coordinate direction (the major axis direction). Since two
|
largest magnitude coordinate direction (the major axis direction). Since two
|
||||||
or more coordinates can: have identical magnitude, the implementation must:
|
or more coordinates can: have identical magnitude, the implementation must:
|
||||||
have rules to disambiguate this situation.
|
have rules to disambiguate this situation.
|
||||||
@ -1571,7 +1571,7 @@ latexmath:[$(i,j,k)$] texel coordinates, with all texels taken from layer l.
|
|||||||
++++++++++++++++++++++++
|
++++++++++++++++++++++++
|
||||||
|
|
||||||
Within a miplevel, etext:LINEAR filtering computes a weighted average of 8
|
Within a miplevel, etext:LINEAR filtering computes a weighted average of 8
|
||||||
(for 3D), 4 (for 2D or ube), or 2 (for 1D) texel values, using the weights
|
(for 3D), 4 (for 2D or Cube), or 2 (for 1D) texel values, using the weights
|
||||||
computed earlier:
|
computed earlier:
|
||||||
|
|
||||||
[latexmath]
|
[latexmath]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user