diff options
Diffstat (limited to 'doc/specs/vulkan/chapters')
-rw-r--r-- | doc/specs/vulkan/chapters/VK_KHR_surface/wsi.txt | 11 | ||||
-rw-r--r-- | doc/specs/vulkan/chapters/copies.txt | 4 | ||||
-rw-r--r-- | doc/specs/vulkan/chapters/descriptorsets.txt | 4 | ||||
-rw-r--r-- | doc/specs/vulkan/chapters/features.txt | 4 | ||||
-rw-r--r-- | doc/specs/vulkan/chapters/interfaces.txt | 4 | ||||
-rw-r--r-- | doc/specs/vulkan/chapters/textures.txt | 8 |
6 files changed, 16 insertions, 19 deletions
diff --git a/doc/specs/vulkan/chapters/VK_KHR_surface/wsi.txt b/doc/specs/vulkan/chapters/VK_KHR_surface/wsi.txt index 33b6144..fc3bdcf 100644 --- a/doc/specs/vulkan/chapters/VK_KHR_surface/wsi.txt +++ b/doc/specs/vulkan/chapters/VK_KHR_surface/wsi.txt @@ -821,7 +821,7 @@ E = (\frac{c_1 + c_2 \times L^{m_1}}{1 + c_3 \times L^{m_1}})^{m_2} \] +++++++++++++++++++ - where: +where: latexmath:[m_1 = 2610 / 4096 \times \frac{1}{4} = 0.1593017578125] + latexmath:[m_2 = 2523 / 4096 \times 128 = 78.84375] + @@ -843,12 +843,9 @@ E & = \end{aligned} +++++++++++++++++++ -latexmath:[L \text{ - is the signal normalized by the reference white -level}] + -latexmath:[r \text{ - is the reference white level and has a signal value of -0.5}] + -latexmath:[a = 0.17883277 \text{ and } b = 0.28466892 \text{, and } c = -0.55991073] +[eq]#_L_# -- is the signal normalized by the reference white level + +[eq]#_r_# -- is the reference white level and has a signal value of 0.5 + +[eq]#_a_ = 0.17883277# and [eq]#_b_ = 0.28466892# and [eq]#_c_ = 0.55991073# === Adobe RGB (1998) OETF diff --git a/doc/specs/vulkan/chapters/copies.txt b/doc/specs/vulkan/chapters/copies.txt index 2778d30..de36b05 100644 --- a/doc/specs/vulkan/chapters/copies.txt +++ b/doc/specs/vulkan/chapters/copies.txt @@ -1322,11 +1322,11 @@ pname:layerCount layers are blitted to the destination image. Slices in the source region bounded by pname:srcOffsets[0].pname:z and pname:srcOffsets[1].pname:z are copied to slices in the destination region bounded by pname:dstOffsets[0].pname:z and pname:dstOffsets[1].pname:z. -For each destination slice, a source z coordinate is linearly interpolated +For each destination slice, a source *z* coordinate is linearly interpolated between pname:srcOffsets[0].pname:z and pname:srcOffsets[1].pname:z. If the pname:filter parameter is ename:VK_FILTER_LINEAR then the value sampled from the source image is taken by doing linear filtering using the -interpolated z coordinate. +interpolated *z* coordinate. If pname:filter parameter is ename:VK_FILTER_NEAREST then value sampled from the source image is taken from the single nearest slice (with undefined rounding mode). diff --git a/doc/specs/vulkan/chapters/descriptorsets.txt b/doc/specs/vulkan/chapters/descriptorsets.txt index 302becc..42d0494 100644 --- a/doc/specs/vulkan/chapters/descriptorsets.txt +++ b/doc/specs/vulkan/chapters/descriptorsets.txt @@ -1799,8 +1799,8 @@ structure, as specified below. [[descriptorsets-updates-consecutive, consecutive binding updates]] If the pname:dstBinding has fewer than pname:descriptorCount array elements remaining starting from pname:dstArrayElement, then the remainder will be -used to update the subsequent binding - pname:dstBinding+1 starting at array -element zero. +used to update the subsequent binding - [eq]#pname:dstBinding+1# starting at +array element zero. If a binding has a pname:descriptorCount of zero, it is skipped. This behavior applies recursively, with the update affecting consecutive bindings as needed to update all pname:descriptorCount descriptors. diff --git a/doc/specs/vulkan/chapters/features.txt b/doc/specs/vulkan/chapters/features.txt index 18efa9c..d8538b0 100644 --- a/doc/specs/vulkan/chapters/features.txt +++ b/doc/specs/vulkan/chapters/features.txt @@ -3403,8 +3403,8 @@ ifdef::VK_KHR_sampler_ycbcr_conversion[] plane 1, and a 16-bit R component in each 16-bit word of plane 2. The horizontal and vertical dimensions of the R and B planes are halved relative to the image dimensions, and each R and B component is shared - with the G components for which latexmath:[\lfloor i_G \times 0.5\ - rfloor = i_B = i_R] and latexmath:[\lfloor j_G \times 0.5 \rfloor = j_B + with the G components for which latexmath:[\lfloor i_G \times 0.5 + \rfloor = i_B = i_R] and latexmath:[\lfloor j_G \times 0.5 \rfloor = j_B = j_R]. The location of each plane when this image is in linear layout can be determined via vkGetImageSubresourceLayout, using diff --git a/doc/specs/vulkan/chapters/interfaces.txt b/doc/specs/vulkan/chapters/interfaces.txt index 03768a8..90687bc 100644 --- a/doc/specs/vulkan/chapters/interfaces.txt +++ b/doc/specs/vulkan/chapters/interfaces.txt @@ -1172,9 +1172,9 @@ the code:Output storage class. + The variable decorated with code:FragStencilRefEXT must: be declared as a scalar integer value. -Only the least significant [eq]#s# bits of the integer value of the variable +Only the least significant *s* bits of the integer value of the variable decorated with code:FragStencilRefEXT are considered for stencil testing, -where [eq]#s# is the number of bits in the stencil framebuffer attachment, +where *s* is the number of bits in the stencil framebuffer attachment, and higher order bits are discarded. endif::VK_EXT_shader_stencil_export[] 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} |