diff --git a/appendices/boilerplate.txt b/appendices/boilerplate.txt index bcf1cb6d..2005025b 100644 --- a/appendices/boilerplate.txt +++ b/appendices/boilerplate.txt @@ -353,7 +353,7 @@ endif::VK_NV_win32_keyed_mutex[] | `<>` | X11 Xlib | `vulkan_xlib.h` | `` | dname:VK_USE_PLATFORM_XLIB_KHR ifdef::VK_EXT_acquire_xlib_display[] | `<>` | X11 XRAndR | `vulkan_xlib_xrandr.h` | ``, - `` | dname:VK_USE_PLATFORM_XLIB_XRANDR_EXT + `` | dname:VK_USE_PLATFORM_XLIB_XRANDR_EXT endif::VK_EXT_acquire_xlib_display[] ifdef::VK_MVK_ios_surface[] | `<>` | iOS | `vulkan_ios.h` | None | dname:VK_USE_PLATFORM_IOS_MVK diff --git a/chapters/features.txt b/chapters/features.txt index 34f04237..23477071 100644 --- a/chapters/features.txt +++ b/chapters/features.txt @@ -7632,7 +7632,7 @@ following table: [[external-memory-handle-types-compatibility]] .External memory handle types compatibility |==== -| Handle type | sname:VkPhysicalDeviceIDProperties::pname:driverUUID | sname:VkPhysicalDeviceIDProperties::pname:deviceUUID +| Handle type | sname:VkPhysicalDeviceIDProperties{wbro}::pname:driverUUID | sname:VkPhysicalDeviceIDProperties{wbro}::pname:deviceUUID | ename:VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_FD_BIT | Must match | Must match | ename:VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_BIT | Must match | Must match | ename:VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT | Must match | Must match @@ -8295,7 +8295,7 @@ following table: [[external-semaphore-handle-types-compatibility]] .External semaphore handle types compatibility |==== -| Handle type | sname:VkPhysicalDeviceIDProperties::pname:driverUUID | sname:VkPhysicalDeviceIDProperties::pname:deviceUUID +| Handle type | sname:VkPhysicalDeviceIDProperties{wbro}::pname:driverUUID | sname:VkPhysicalDeviceIDProperties{wbro}::pname:deviceUUID | ename:VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_FD_BIT | Must match | Must match | ename:VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_WIN32_BIT | Must match | Must match | ename:VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT | Must match | Must match @@ -8516,7 +8516,7 @@ following table: [[external-fence-handle-types-compatibility]] .External fence handle types compatibility |==== -| Handle type | sname:VkPhysicalDeviceIDProperties::pname:driverUUID | sname:VkPhysicalDeviceIDProperties::pname:deviceUUID +| Handle type | sname:VkPhysicalDeviceIDProperties{wbro}::pname:driverUUID | sname:VkPhysicalDeviceIDProperties{wbro}::pname:deviceUUID | ename:VK_EXTERNAL_FENCE_HANDLE_TYPE_OPAQUE_FD_BIT | Must match | Must match | ename:VK_EXTERNAL_FENCE_HANDLE_TYPE_OPAQUE_WIN32_BIT | Must match | Must match | ename:VK_EXTERNAL_FENCE_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT | Must match | Must match diff --git a/chapters/primsrast.txt b/chapters/primsrast.txt index 777ac63c..d1fdf5f6 100644 --- a/chapters/primsrast.txt +++ b/chapters/primsrast.txt @@ -1978,17 +1978,15 @@ The bias value [eq]#o# for a polygon is [latexmath] ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -o = +\begin{aligned} +o &= \mathrm{dbclamp}( m \times \mathtt{depthBiasSlopeFactor} + r \times \mathtt{depthBiasConstantFactor} ) \\ +\text{where} &\quad \mathrm{dbclamp}(x) = \begin{cases} - m \times depthBiasSlopeFactor + - r \times depthBiasConstantFactor & depthBiasClamp = 0\ or\ NaN \\ - \min(m \times depthBiasSlopeFactor + - r \times depthBiasConstantFactor, - depthBiasClamp) & depthBiasClamp > 0 \\ - \max(m \times depthBiasSlopeFactor + - r \times depthBiasConstantFactor, - depthBiasClamp) & depthBiasClamp < 0 \\ + x & \mathtt{depthBiasClamp} = 0 \ \text{or}\ \texttt{NaN} \\ + \min(x, \mathtt{depthBiasClamp}) & \mathtt{depthBiasClamp} > 0 \\ + \max(x, \mathtt{depthBiasClamp}) & \mathtt{depthBiasClamp} < 0 \\ \end{cases} +\end{aligned} ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [eq]#m# is computed as described above. diff --git a/config/attribs.txt b/config/attribs.txt index 193aa330..a8adbf13 100644 --- a/config/attribs.txt +++ b/config/attribs.txt @@ -53,3 +53,10 @@ :tau: τ :phi: ϕ +// Word break oportunity tag for HTML +ifdef::backend-html5[] +:wbro: pass:[] +endif::backend-html5[] +ifndef::backend-html5[] +:wbro: +endif::backend-html5[] \ No newline at end of file