summaryrefslogtreecommitdiffstats
path: root/doc/specs/vulkan/chapters/textures.txt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/specs/vulkan/chapters/textures.txt')
-rw-r--r--doc/specs/vulkan/chapters/textures.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/specs/vulkan/chapters/textures.txt b/doc/specs/vulkan/chapters/textures.txt
index 0f6748a..ea228ef 100644
--- a/doc/specs/vulkan/chapters/textures.txt
+++ b/doc/specs/vulkan/chapters/textures.txt
@@ -1707,7 +1707,7 @@ The LOD parameter [eq]#{lambda}# is computed as follows:
\begin{aligned}
\lambda_{base}(x,y) & =
\begin{cases}
- shaderOp.Lod & \text{(from optional: SPIR-V operand)} \\
+ shaderOp.Lod & \text{(from optional SPIR-V operand)} \\
\log_2 \left ( \frac{\rho_{max}}{N} \right ) & \text{otherwise}
\end{cases} \\
\lambda'(x,y) & = \lambda_{base} + \mathbin{clamp}(sampler.bias + shaderOp.bias,-maxSamplerLodBias,maxSamplerLodBias) \\
@@ -1729,13 +1729,13 @@ where:
sampler.bias & = mipLodBias & \text{(from sampler descriptor)} \\
shaderOp.bias & =
\begin{cases}
- Bias & \text{(from optional: SPIR-V operand)} \\
+ Bias & \text{(from optional SPIR-V operand)} \\
0 & \text{otherwise}
\end{cases} \\
sampler.lod_{min} & = minLod & \text{(from sampler descriptor)} \\
shaderOp.lod_{min} & =
\begin{cases}
- MinLod & \text{(from optional: SPIR-V operand)} \\
+ MinLod & \text{(from optional SPIR-V operand)} \\
0 & \text{otherwise}
\end{cases} \\
\\
@@ -1760,7 +1760,7 @@ computed based on the LOD parameter, as follows:
\begin{aligned}
d_{l} =
\begin{cases}
- nearest(d'), & \text{mipmapMode is VK_SAMPLER_MIPMAP_MODE_NEAREST} \\
+ nearest(d'), & \text{mipmapMode is VK\_SAMPLER\_MIPMAP\_MODE\_NEAREST} \\
d', & \text{otherwise}
\end{cases}
\end{aligned}