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.
|
||||
** Instructions with code:Proj in the name apply homogeneous
|
||||
<<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.
|
||||
* 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.
|
||||
* code:OpImageRead (and code:OpImageSparseRead) and code:OpImageWrite read
|
||||
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
|
||||
texel coordinates.
|
||||
|
||||
If the integer texel coordinates satifies any of the conditions
|
||||
If the integer texel coordinates satisfy any of the conditions
|
||||
[latexmath]
|
||||
+++++++++++++++++++
|
||||
\begin{align*}
|
||||
|
@ -523,7 +523,7 @@ elink:VkFormat), using the appropriate equations in
|
|||
<<fundamentals-fp16,16-Bit Floating-Point Numbers>>,
|
||||
<<fundamentals-fp11,Unsigned 11-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>>.
|
||||
|
||||
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
|
||||
image. _Texel output operations_ are a set of steps that are performed on
|
||||
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:
|
||||
|
||||
* <<textures-output-validation,Validation operations>>
|
||||
|
@ -845,7 +845,7 @@ dPdy & =
|
|||
\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:OpDPdyCoarse, respectively. Implementations must: make the same choice
|
||||
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
|
||||
|
||||
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
|
||||
or more coordinates can: have identical magnitude, the implementation must:
|
||||
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
|
||||
(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:
|
||||
|
||||
[latexmath]
|
||||
|
|
Loading…
Reference in New Issue