diff options
| author | Rain156 <77776581+Rain156@users.noreply.github.com> | 2026-11-24 20:40:44 +0800 |
|---|---|---|
| committer | Rain156 <77776581+Rain156@users.noreply.github.com> | 2026-11-24 20:49:20 +0800 |
| commit | c55ecc9cbf4e7cde8b80b032b827e5943d451a9e (patch) | |
| tree | 79ae52e0e666437e46d2dcf8d8f51bd6b762349c /docs/d3d12_vulkan.md | |
| parent | b10e0e9d5a24c90bfc1a6d2370fcfcf641f3fbc7 (diff) | |
d3d12: expand rectangle draws through triangle-family pipelines
Select the geometry-stage variant when the input assembler requests an Xbox rectangle and cache it alongside the attachment-format variants. Keep a shared snapshot of the linked vertex program for that draw. Exercise alternating rectangle and triangle draws through the same PSO and compare the complete target after each switch.
Diffstat (limited to 'docs/d3d12_vulkan.md')
| -rw-r--r-- | docs/d3d12_vulkan.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/d3d12_vulkan.md b/docs/d3d12_vulkan.md index 3ae29163e..42a886b81 100644 --- a/docs/d3d12_vulkan.md +++ b/docs/d3d12_vulkan.md | |||
| @@ -832,6 +832,10 @@ The compute path, end to end: | |||
| 832 | `d3d12_state_sweep_test` checks the mapping against the host on the same adapter: 482 full-screen draws over | 832 | `d3d12_state_sweep_test` checks the mapping against the host on the same adapter: 482 full-screen draws over |
| 833 | every blend factor pair, blend operation, write mask, comparison function and stencil operation, with the stencil | 833 | every blend factor pair, blend operation, write mask, comparison function and stencil operation, with the stencil |
| 834 | plane read back, are byte-identical on an RTX 5080 and a Radeon iGPU. | 834 | plane read back, are byte-identical on an RTX 5080 and a Radeon iGPU. |
| 835 | - A triangle-family PSO can draw Xbox rectangle lists. When the input assembler selects topology 17, replay | ||
| 836 | selects a geometry-stage variant that emits the fourth corner after vertex shading. It requires | ||
| 837 | `geometryShader` and a vertex pipeline without an application geometry stage. A later triangle draw uses the | ||
| 838 | original PSO. The translated-draw GPU test switches between both primitives on one PSO and checks every pixel. | ||
| 835 | - **Logic ops** come from `RenderTarget[0]`, as in D3D12, and apply to every target (Vulkan has one per | 839 | - **Logic ops** come from `RenderTarget[0]`, as in D3D12, and apply to every target (Vulkan has one per |
| 836 | pipeline; it skips float formats). **`DepthClipEnable = FALSE`** is depth clamping: D3D12 clamps output depth | 840 | pipeline; it skips float formats). **`DepthClipEnable = FALSE`** is depth clamping: D3D12 clamps output depth |
| 837 | to the viewport's range anyway. | 841 | to the viewport's range anyway. |