upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
author73N1X <115502401+73N1X@users.noreply.github.com>2026-11-22 16:20:44 -0400
committer73N1X <115502401+73N1X@users.noreply.github.com>2026-11-22 16:20:44 -0400
commitb5e9ca4ccc8a013d7f2353d290b151aeae16349e (patch)
tree53f30289e4d95bb73ee5aafdb386f1c348e3a2ab /docs
parentb9cc5f9a32fa46d655fe124901706cac6a371eb4 (diff)
Runtime: expose conservative rasterization Tier 2 with capability gates
Diffstat (limited to 'docs')
-rw-r--r--docs/d3d12_vulkan.md17
1 files changed, 14 insertions, 3 deletions
diff --git a/docs/d3d12_vulkan.md b/docs/d3d12_vulkan.md
index a6a683e31..4e8da387c 100644
--- a/docs/d3d12_vulkan.md
+++ b/docs/d3d12_vulkan.md
@@ -660,15 +660,26 @@ The compute path, end to end:
660 - **Logic ops** come from `RenderTarget[0]`, as in D3D12, and apply to every target (Vulkan has one per 660 - **Logic ops** come from `RenderTarget[0]`, as in D3D12, and apply to every target (Vulkan has one per
661 pipeline; it skips float formats). **`DepthClipEnable = FALSE`** is depth clamping: D3D12 clamps output depth 661 pipeline; it skips float formats). **`DepthClipEnable = FALSE`** is depth clamping: D3D12 clamps output depth
662 to the viewport's range anyway. 662 to the viewport's range anyway.
663 - **Conservative rasterization (Tier 1):** the standalone device enables `VK_EXT_conservative_rasterization` 663 - **Conservative rasterization (Tier 1/2):** the standalone device enables `VK_EXT_conservative_rasterization`
664 when available; caller-owned devices must set `VulkanDeviceInfo::conservative_rasterization` only if they 664 when available; caller-owned devices must set `VulkanDeviceInfo::conservative_rasterization` only if they
665 enabled it. OPTIONS reports Tier 1 only with at least eight subpixel precision bits and a finite, nonnegative 665 enabled it. OPTIONS reports at least Tier 1 only with at least eight subpixel precision bits and a finite, nonnegative
666 primitive overestimation no greater than `0.5 - 1/512` pixels, leaving half a minimum grid step within the 666 primitive overestimation no greater than `0.5 - 1/512` pixels, leaving half a minimum grid step within the
667 Tier 1 uncertainty bound. `ConservativeRaster=ON` uses overestimate mode with zero extra overestimation, 667 Tier 1 uncertainty bound. `ConservativeRaster=ON` uses overestimate mode with zero extra overestimation,
668 including unbound-attachment variants. OFF keeps the ordinary pipeline. Missing support, unknown modes, 668 including unbound-attachment variants. OFF keeps the ordinary pipeline. Missing support, unknown modes,
669 wireframe and non-triangle PSOs are refused; conservative TIR (`ForcedSampleCount != 0`) remains `E_NOTIMPL`. 669 wireframe and non-triangle PSOs are refused; conservative TIR (`ForcedSampleCount != 0`) remains `E_NOTIMPL`.
670 Tier 2/3 and `SV_InnerCoverage` are not exposed. See [Microsoft's rules](https://learn.microsoft.com/en-us/windows/win32/direct3d12/conservative-rasterization) 670 Tier 2 additionally requires `degenerateTrianglesRasterized` and primitive overestimation plus half a
671 device subpixel step no greater than 1/256 pixel. Other eligible devices retain Tier 1. Tier 3 and
672 `SV_InnerCoverage` are not exposed. See [Microsoft's rules](https://learn.microsoft.com/en-us/windows/win32/direct3d12/conservative-rasterization)
671 and [Vulkan's properties](https://docs.vulkan.org/refpages/latest/refpages/source/VkPhysicalDeviceConservativeRasterizationPropertiesEXT.html). 673 and [Vulkan's properties](https://docs.vulkan.org/refpages/latest/refpages/source/VkPhysicalDeviceConservativeRasterizationPropertiesEXT.html).
674 `d3d12_conservative_tier2_test` checks the tighter geometric uncertainty bound, post-snap and exact
675 degenerates with distinct indices, provoking-vertex colour, constant depth, back-facing classification,
676 culling, indexed permutations, triangle strips, scissor and unbound-attachment variants. On RX 5700 XT
677 (Windows driver 32.0.21045.5002), 16 tight-bound scenes and 480 degenerate draws pass across Vulkan and native
678 AMD D3D12. The WARP comparison omits only its pixel-corner fixture: WARP drops that tiny triangle even though
679 Vulkan and native AMD cover it. `--warp-corner` retains the strict failing software-reference reproducer;
680 Vulkan always checks the corner. Variable `SV_Position.z` is not a provoking-vertex oracle: both native
681 references and Vulkan exhibit extrapolation for screen-space degenerates. This test checks constant depth
682 and separately varying colour, and does not claim a depth-buffer readback or variable-depth conformance.
672 `d3d12_conservative_raster_test` checks geometric required/forbidden coverage, subpixel/sliver and degenerate 683 `d3d12_conservative_raster_test` checks geometric required/forbidden coverage, subpixel/sliver and degenerate
673 triangles, culling, scissor, 1x/4x MSAA, variants, feature reporting and refusals. Uncertain edge pixels are 684 triangles, culling, scissor, 1x/4x MSAA, variants, feature reporting and refusals. Uncertain edge pixels are
674 allowed to differ. On RX 5700 XT (Windows 32.0.21045.5002), 48 scenario pairs pass on Vulkan and native AMD; 685 allowed to differ. On RX 5700 XT (Windows 32.0.21045.5002), 48 scenario pairs pass on Vulkan and native AMD;