vulkan_replay: sRGB render-target clears are encoded in the layer, as WARP encodes them (D3D-CLEAR-SRGB-ENCODE) #1179

Merged
MalexAson merged 1 commit from upstream-pr/1179 into main 2026-11-29 19:00:28 +00:00
MalexAson commented 2026-11-24 19:40:57 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by MalexAson on 2026-11-24T19:40:57Z.


Claimed in the coordination issue as: D3D-CLEAR-SRGB-ENCODE

What and why

ClearRenderTargetView on R8G8B8A8_UNORM_SRGB and B8G8R8A8_UNORM_SRGB handed the linear float to vkCmdClearColorImage or vkCmdClearAttachments and the GPU encoded it, so the stored byte depended on the GPU. Against WARP, d3d12_clear_formats differed in 10 clears and d3d12_srgb_uav in 2 on an Intel Iris Xe (0.5 is bb there and bc on WARP).

What I measured (the new "sRGB RTV clears" item in docs/d3d12_vulkan.md has the details):

  • No driver is wrong. D3D permits FLOAT → SRGB 0.6 of a step of tolerance (Direct3D 11.3 functional specification, 3.2.3.8), and each implementation puts the 255 steps between two codes somewhere else. Of 60 000 random values the Iris Xe stores another byte than WARP for 6 649 and an RTX 4060 for 3 648, never more than one code away. The RTX 4060 passes on main only because the five test colours miss those values.
  • WARP takes the value to 12 bits first (x * 4095 in single precision, rounded half up) and then takes the nearest code of the sRGB curve. All 255 floats at which its byte changes are the ones this rule gives, and 84 582 further values agree.
  • WARP and both GPUs store the linear value of a code as that code, for all 256 codes.
  • Each GPU's own D3D12 driver stores exactly what its Vulkan driver stores (84 582 of 84 582 values, on both GPUs).

The change: render_target_clear_color encodes the colour channels itself by WARP's rule (srgb8_from_linear) and hands Vulkan the linear value of that code (srgb8_linear). Alpha is unchanged. This is what quantize_unorm does for UNORM ties.

One thing for a maintainer to decide. A GPU's own D3D12 driver encodes as its Vulkan driver does, so the layer used to equal that driver and differ from WARP; now it equals WARP on every GPU and differs from that driver where the driver differs from WARP. I followed what the layer does for UNORM ties and D24: the layer converts, WARP is the reference, and a host that does otherwise is a host quirk. If you would rather keep the GPU's encoding, the alternative is to leave the layer alone and compare the sRGB colour channels with WARP within one code in the two tests. Say so and I will redo it that way.

d3d12_state_sweep_test compares with the same adapter's D3D12 driver and cleared its sRGB targets to 0.2, 0.4 and 0.6, of which Intel's driver stores the first two as 123 and 169 where WARP has 124 and 170. With the layer change it differed in 4 of 482 cases on the Iris Xe, so its sRGB targets now start from the values of codes 124, 170 and 203, which every implementation measured stores alike. The sweep is about blending.

Not changed: a draw into an sRGB target is still encoded by the GPU, and d3d12_clear_test still compares castable sRGB views within 1.

Tested

On main 6293c1c4f with MSVC 14.50 (Build Tools 2026), RelWithDebInfo, WARP 10.0.26100.5074, each on both GPUs through LEONIDA_VK_DEVICE:

  • d3d12_clear_formats: before, 241 matched WARP and 10 differ on the Iris Xe (251 and 0 on the RTX 4060). With the extended sRGB colours on the unfixed layer, 178 of the 352 sRGB cases differ on the Iris Xe and 170 on the RTX 4060. After: 593 matched and 0 differ on both.
  • d3d12_srgb_uav: before, 2 of 4 clears differ on the Iris Xe; after, 0 failures on both.
  • clear_color (no GPU): 567 checks pass.
  • A scratch sweep (not in this pull request) of 84 838 values through the fixed layer against WARP: 0 differ on both GPUs, for both formats, as a whole view and as a rectangle, on plain render targets and on UAV ones backed by a UNORM image.
  • ctest for the 23 tests that clear or present sRGB targets or use the changed code (d3d12_clear, d3d12_clear_restricted_depth, d3d12_clear_formats, d3d12_srgb_uav, d3d12_uav_clear, d3d12_short_uav_clear, d3d12_typeless_rtv, d3d12_typeless_families, d3d12_typeless_depth, d3d12_state_sweep, d3d12_draw, d3d12_present, d3d12_close_parity, d3d12_vulkan_device, dxgi_swapchain, xbox_present, xs_proxy_mock, vk_presenter_sync, typeless_rtv, clear_color, replay_clear_gate, replay_uav_clear_offset, d3d12_rgb9e5_rtv): on both GPUs 21 pass, d3d12_rgb9e5_rtv skips and d3d12_vulkan_device fails. It fails the same way without this change (three resource-flag cases of compare_invalid_arguments against the host runtime), which has nothing to do with clears.
  • Not run: the whole ctest (only these targets were built), LEONIDA_VK_VALIDATION=1 (no validation layer on this PC), an AMD GPU, Linux.

GPUs tested: Intel Iris Xe (Raptor Lake-P, 8086:a7a0), Intel 32.0.101.7092, Windows 11 build 26100; NVIDIA GeForce RTX 4060 Laptop GPU, NVIDIA 616.92, Windows 11 build 26100

AI-assisted: yes

Checklist

  • Based on current main and merges cleanly (a conflicting pull request is labeled needs rebase).
  • One topic; follow-up work goes in a new pull request.
  • No game data, keys or decryption (CONTRIBUTING.md), including in logs or reports quoted here.
  • A new translator rule is in the contract table of docs/design.md, with how it was confirmed. (not applicable: no translator change)

🤖 Generated with Claude Code

<!-- greyfinch-sync:ubiquitarianism/leonida:issue:5479074899 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/1179). Originally posted by [MalexAson](https://github.com/MalexAson) on 2026-11-24T19:40:57Z. --- Claimed in the coordination issue as: D3D-CLEAR-SRGB-ENCODE ### What and why `ClearRenderTargetView` on `R8G8B8A8_UNORM_SRGB` and `B8G8R8A8_UNORM_SRGB` handed the linear float to `vkCmdClearColorImage` or `vkCmdClearAttachments` and the GPU encoded it, so the stored byte depended on the GPU. Against WARP, `d3d12_clear_formats` differed in 10 clears and `d3d12_srgb_uav` in 2 on an Intel Iris Xe (0.5 is `bb` there and `bc` on WARP). What I measured (the new "sRGB RTV clears" item in `docs/d3d12_vulkan.md` has the details): - No driver is wrong. D3D permits FLOAT → SRGB 0.6 of a step of tolerance (Direct3D 11.3 functional specification, 3.2.3.8), and each implementation puts the 255 steps between two codes somewhere else. Of 60 000 random values the Iris Xe stores another byte than WARP for 6 649 and an RTX 4060 for 3 648, never more than one code away. The RTX 4060 passes on `main` only because the five test colours miss those values. - WARP takes the value to 12 bits first (`x * 4095` in single precision, rounded half up) and then takes the nearest code of the sRGB curve. All 255 floats at which its byte changes are the ones this rule gives, and 84 582 further values agree. - WARP and both GPUs store the linear value of a code as that code, for all 256 codes. - Each GPU's own D3D12 driver stores exactly what its Vulkan driver stores (84 582 of 84 582 values, on both GPUs). The change: `render_target_clear_color` encodes the colour channels itself by WARP's rule (`srgb8_from_linear`) and hands Vulkan the linear value of that code (`srgb8_linear`). Alpha is unchanged. This is what `quantize_unorm` does for UNORM ties. **One thing for a maintainer to decide.** A GPU's own D3D12 driver encodes as its Vulkan driver does, so the layer used to equal that driver and differ from WARP; now it equals WARP on every GPU and differs from that driver where the driver differs from WARP. I followed what the layer does for UNORM ties and D24: the layer converts, WARP is the reference, and a host that does otherwise is a host quirk. If you would rather keep the GPU's encoding, the alternative is to leave the layer alone and compare the sRGB colour channels with WARP within one code in the two tests. Say so and I will redo it that way. `d3d12_state_sweep_test` compares with the same adapter's D3D12 driver and cleared its sRGB targets to 0.2, 0.4 and 0.6, of which Intel's driver stores the first two as 123 and 169 where WARP has 124 and 170. With the layer change it differed in 4 of 482 cases on the Iris Xe, so its sRGB targets now start from the values of codes 124, 170 and 203, which every implementation measured stores alike. The sweep is about blending. Not changed: a draw into an sRGB target is still encoded by the GPU, and `d3d12_clear_test` still compares castable sRGB views within 1. ### Tested On `main` 6293c1c4f with MSVC 14.50 (Build Tools 2026), RelWithDebInfo, WARP 10.0.26100.5074, each on both GPUs through `LEONIDA_VK_DEVICE`: - `d3d12_clear_formats`: before, 241 matched WARP and 10 differ on the Iris Xe (251 and 0 on the RTX 4060). With the extended sRGB colours on the unfixed layer, 178 of the 352 sRGB cases differ on the Iris Xe and 170 on the RTX 4060. After: 593 matched and 0 differ on both. - `d3d12_srgb_uav`: before, 2 of 4 clears differ on the Iris Xe; after, 0 failures on both. - `clear_color` (no GPU): 567 checks pass. - A scratch sweep (not in this pull request) of 84 838 values through the fixed layer against WARP: 0 differ on both GPUs, for both formats, as a whole view and as a rectangle, on plain render targets and on UAV ones backed by a UNORM image. - `ctest` for the 23 tests that clear or present sRGB targets or use the changed code (`d3d12_clear`, `d3d12_clear_restricted_depth`, `d3d12_clear_formats`, `d3d12_srgb_uav`, `d3d12_uav_clear`, `d3d12_short_uav_clear`, `d3d12_typeless_rtv`, `d3d12_typeless_families`, `d3d12_typeless_depth`, `d3d12_state_sweep`, `d3d12_draw`, `d3d12_present`, `d3d12_close_parity`, `d3d12_vulkan_device`, `dxgi_swapchain`, `xbox_present`, `xs_proxy_mock`, `vk_presenter_sync`, `typeless_rtv`, `clear_color`, `replay_clear_gate`, `replay_uav_clear_offset`, `d3d12_rgb9e5_rtv`): on both GPUs 21 pass, `d3d12_rgb9e5_rtv` skips and `d3d12_vulkan_device` fails. It fails the same way without this change (three resource-flag cases of `compare_invalid_arguments` against the host runtime), which has nothing to do with clears. - Not run: the whole `ctest` (only these targets were built), `LEONIDA_VK_VALIDATION=1` (no validation layer on this PC), an AMD GPU, Linux. GPUs tested: Intel Iris Xe (Raptor Lake-P, 8086:a7a0), Intel 32.0.101.7092, Windows 11 build 26100; NVIDIA GeForce RTX 4060 Laptop GPU, NVIDIA 616.92, Windows 11 build 26100 AI-assisted: yes ### Checklist - [x] Based on current `main` and merges cleanly (a conflicting pull request is labeled `needs rebase`). - [x] One topic; follow-up work goes in a new pull request. - [x] No game data, keys or decryption (CONTRIBUTING.md), including in logs or reports quoted here. - [ ] A new translator rule is in the contract table of `docs/design.md`, with how it was confirmed. (not applicable: no translator change) 🤖 Generated with [Claude Code](https://claude.com/claude-code)
abnalstlll-byte commented 2026-11-24 19:42:33 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by abnalstlll-byte on 2026-11-24T19:42:33Z.

Review: APPROVED


Reviewed and verified. Eliminates vendor-specific 1-ulp clear variations on sRGB render targets (R8G8B8A8_UNORM_SRGB / B8G8R8A8_UNORM_SRGB) by performing software quantization via srgb8_from_linear / srgb8_linear in runtime/src/vulkan_replay.h, matching WARP 12-bit precision across 84,582 values and passing 593/593 cases in d3d12_clear_formats. 100% clean-room.

<!-- greyfinch-sync:ubiquitarianism/leonida:review:6046144774 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/1179#pullrequestreview-6046144774). Originally posted by [abnalstlll-byte](https://github.com/abnalstlll-byte) on 2026-11-24T19:42:33Z. **Review:** APPROVED --- Reviewed and verified. Eliminates vendor-specific 1-ulp clear variations on sRGB render targets (`R8G8B8A8_UNORM_SRGB` / `B8G8R8A8_UNORM_SRGB`) by performing software quantization via `srgb8_from_linear` / `srgb8_linear` in `runtime/src/vulkan_replay.h`, matching WARP 12-bit precision across 84,582 values and passing 593/593 cases in `d3d12_clear_formats`. 100% clean-room.
madhyn commented 2026-11-24 20:09:42 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by madhyn on 2026-11-24T20:09:42Z.


Tested e2c13db54 on Arch Linux + Wine 11.22 + NVIDIA RTX 3060 Ti (595.58.03 / Vulkan):

  • clear_color (Linux): Passed (0.01 s)
  • d3d12_state_sweep (Wine): Skipped
  • d3d12_clear (Wine): Failed (6.26 s — host D3D12 under Wine differs from WARP, e.g. R8G8B8A8_UNORM case 0 byte 2: Vulkan 80, WARP 7f, R8G8_UINT case 3 byte 13: Vulkan ff, WARP 00)
  • d3d12_clear_formats (Wine): Failed (clears: 324 matched WARP, 269 differ, 0 failed — Wine host D3D12 vs layer differences on UINT/SINT/D16/D24S8/D32S8)

AI-assisted: yes

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7143126644 --> Imported from [ubiquitarianism/leonida](https://github.com/ubiquitarianism/leonida/pull/1179#issuecomment-7143126644). Originally posted by [madhyn](https://github.com/madhyn) on 2026-11-24T20:09:42Z. --- Tested `e2c13db54` on Arch Linux + Wine 11.22 + NVIDIA RTX 3060 Ti (595.58.03 / Vulkan): - `clear_color` (Linux): **Passed** (0.01 s) - `d3d12_state_sweep` (Wine): **Skipped** - `d3d12_clear` (Wine): **Failed** (6.26 s — host D3D12 under Wine differs from WARP, e.g. `R8G8B8A8_UNORM case 0 byte 2: Vulkan 80, WARP 7f`, `R8G8_UINT case 3 byte 13: Vulkan ff, WARP 00`) - `d3d12_clear_formats` (Wine): **Failed** (`clears: 324 matched WARP, 269 differ, 0 failed` — Wine host D3D12 vs layer differences on `UINT`/`SINT`/`D16`/`D24S8`/`D32S8`) AI-assisted: yes
Deedlyy commented 2026-11-24 20:09:47 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by Deedlyy on 2026-11-24T20:09:47Z.


Recommendation: [WAIT]

Reasoning: Clears on sRGB render targets now encode the clear colour in the layer the way WARP does, instead of letting each GPU encode it, which removes vendor-dependent bytes (e.g. 0xbb vs 0xbc on Iris Xe). The analysis is thorough and four tests plus docs are updated. But the change affects every sRGB RTV clear, and it has only been measured on the author's Intel/NVIDIA machines with no second-person run. Get one independent run of d3d12_clear_formats/clear_color/d3d12_srgb_uav on AMD or NVIDIA before merging. CI (label, change-scope, no-game-data and the Runtime jobs) is still queued awaiting maintainer workflow approval, so nothing has run in CI yet; GitHub reports no merge conflict with main.

Impact level: 5/10

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7143128558 --> Imported from [ubiquitarianism/leonida](https://github.com/ubiquitarianism/leonida/pull/1179#issuecomment-7143128558). Originally posted by [Deedlyy](https://github.com/Deedlyy) on 2026-11-24T20:09:47Z. --- **Recommendation:** [WAIT] **Reasoning:** Clears on sRGB render targets now encode the clear colour in the layer the way WARP does, instead of letting each GPU encode it, which removes vendor-dependent bytes (e.g. 0xbb vs 0xbc on Iris Xe). The analysis is thorough and four tests plus docs are updated. But the change affects every sRGB RTV clear, and it has only been measured on the author's Intel/NVIDIA machines with no second-person run. Get one independent run of `d3d12_clear_formats`/`clear_color`/`d3d12_srgb_uav` on AMD or NVIDIA before merging. CI (label, change-scope, no-game-data and the Runtime jobs) is still queued awaiting maintainer workflow approval, so nothing has run in CI yet; GitHub reports no merge conflict with `main`. **Impact level:** 5/10
MalexAson commented 2026-11-24 20:26:19 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by MalexAson on 2026-11-24T20:26:19Z.


@madhyn thank you for running this; a Wine run is one I can't do here.

clear_color passing and d3d12_state_sweep skipping are as expected (the sweep already has the host_wine.h skip). The two failures are a comparison with vkd3d, not with WARP: d3d12_clear and d3d12_clear_formats take their reference from EnumWarpAdapter, which under Wine is vkd3d, and on main neither has the host_wine.h skip. #1086 adds it and reports both failing on main under WineHQ 11.22 (integer clears saturate differently, SNORM -1, D32S8 stencil).

What this commit cannot change is every difference you name. In the layer it changes render_target_clear_color only for the three colour channels of R8G8B8A8_UNORM_SRGB and B8G8R8A8_UNORM_SRGB; UNORM, UINT and SINT go through the same branches as on main, depth clears are a separate path, and d3d12_clear_test.cpp changed in two comments only. 80 against 7f is the 0.5 UNORM tie, which the layer already rounds itself on main.

What it can change is the SRGB group of d3d12_clear_formats, and your total shows it did. That group has 352 cases here instead of 10, and only 241 of the 593 cases are outside it, so at least 28 of your 269 are SRGB lines; the five groups you list hold at most 127. I expect that against a reference that lets the GPU encode: the layer now follows WARP's rule, and half of the added values sit where implementations disagree (my RTX 4060's own encoding differed from WARP on 170 of the 352). I haven't measured what vkd3d stores, so that is an expectation, not a result. That comparison is with vkd3d, so it doesn't measure the change against WARP, and with #1086 the test skips under Wine.

Two things from the same setup would let the numbers be split, if you have the time:

  1. d3d12_clear and d3d12_clear_formats on unchanged main (6293c1c4f).
  2. From the run with this commit, how many of the DIFF lines of d3d12_clear_formats start with DIFF SRGB.

On the independent run the triage comment asks for: agreed, and I can't supply it, since both GPUs in the description are mine. (Rerun just now on the RTX 4060, which has moved to NVIDIA 621.40: d3d12_clear_formats 593 matched and 0 differ, d3d12_srgb_uav 0 failures, clear_color passes.) What would settle it is d3d12_clear_formats, d3d12_srgb_uav and clear_color on native Windows, on an AMD GPU or on someone else's NVIDIA one; the first two compare with Microsoft's WARP, so Wine can't stand in.

AI-assisted: yes

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7143547923 --> Imported from [ubiquitarianism/leonida](https://github.com/ubiquitarianism/leonida/pull/1179#issuecomment-7143547923). Originally posted by [MalexAson](https://github.com/MalexAson) on 2026-11-24T20:26:19Z. --- @madhyn thank you for running this; a Wine run is one I can't do here. `clear_color` passing and `d3d12_state_sweep` skipping are as expected (the sweep already has the `host_wine.h` skip). The two failures are a comparison with vkd3d, not with WARP: `d3d12_clear` and `d3d12_clear_formats` take their reference from `EnumWarpAdapter`, which under Wine is vkd3d, and on `main` neither has the `host_wine.h` skip. #1086 adds it and reports both failing on `main` under WineHQ 11.22 (integer clears saturate differently, SNORM -1, D32S8 stencil). **What this commit cannot change** is every difference you name. In the layer it changes `render_target_clear_color` only for the three colour channels of `R8G8B8A8_UNORM_SRGB` and `B8G8R8A8_UNORM_SRGB`; UNORM, UINT and SINT go through the same branches as on `main`, depth clears are a separate path, and `d3d12_clear_test.cpp` changed in two comments only. `80` against `7f` is the 0.5 UNORM tie, which the layer already rounds itself on `main`. **What it can change** is the SRGB group of `d3d12_clear_formats`, and your total shows it did. That group has 352 cases here instead of 10, and only 241 of the 593 cases are outside it, so at least 28 of your 269 are SRGB lines; the five groups you list hold at most 127. I expect that against a reference that lets the GPU encode: the layer now follows WARP's rule, and half of the added values sit where implementations disagree (my RTX 4060's own encoding differed from WARP on 170 of the 352). I haven't measured what vkd3d stores, so that is an expectation, not a result. That comparison is with vkd3d, so it doesn't measure the change against WARP, and with #1086 the test skips under Wine. Two things from the same setup would let the numbers be split, if you have the time: 1. `d3d12_clear` and `d3d12_clear_formats` on unchanged `main` (6293c1c4f). 2. From the run with this commit, how many of the `DIFF` lines of `d3d12_clear_formats` start with `DIFF SRGB`. On the independent run the triage comment asks for: agreed, and I can't supply it, since both GPUs in the description are mine. (Rerun just now on the RTX 4060, which has moved to NVIDIA 621.40: `d3d12_clear_formats` 593 matched and 0 differ, `d3d12_srgb_uav` 0 failures, `clear_color` passes.) What would settle it is `d3d12_clear_formats`, `d3d12_srgb_uav` and `clear_color` on native Windows, on an AMD GPU or on someone else's NVIDIA one; the first two compare with Microsoft's WARP, so Wine can't stand in. AI-assisted: yes
adrianmjim commented 2026-11-24 21:42:53 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by adrianmjim on 2026-11-24T21:42:53Z.


Tested e2c13db54 applied onto main 66d4f5aa3 on an AMD Radeon RX 7900 XT (AMD Radeon RX 7900 XT (RDNA3, gfx1100), AMD proprietary driver 32.0.32029.2010 (26.11.2), Windows 11 build 26300, VS 2022 RelWithDebInfo, Vulkan SDK 1.4.363.0). No game files.

test main 66d4f5aa3 this PR
clear_color (no GPU) 515 checks passed 567 checks passed, sRGB included
d3d12_clear_formats 251 clears matched WARP, 0 differ 593 matched WARP, 0 differ
d3d12_vulkan_device Passed Passed
d3d12_state_sweep, d3d12_typeless_rtv, d3d12_rgb9e5_rtv, d3d12_clear_restricted_depth Passed Passed
d3d12_clear Failed (NaN depth clear, #787) Failed, the same
full ctest 311/314 311/314, the same three failures (d3d12_texture_tiles #964, d3d12_close_parity, since fixed by #1286, d3d12_clear #787)

This answers the open AMD question. d3d12_vulkan_device compares an sRGB-cast clear of {0.25, 0.5, 0.75} on a placed castable resource with the host runtime on the layer's own adapter, here the AMD D3D12 driver. It still passes with the WARP-style encoding:

placed castable formats (D3D-90): SRGB-cast and plain clears read back and compared with the host runtime on AMD Radeon RX 7900 XT (the layer's own adapter); refusals matched the host's

So, for these values at least, AMD's native D3D12 encodes sRGB clears the same way WARP does.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7145292268 --> Imported from [ubiquitarianism/leonida](https://github.com/ubiquitarianism/leonida/pull/1179#issuecomment-7145292268). Originally posted by [adrianmjim](https://github.com/adrianmjim) on 2026-11-24T21:42:53Z. --- Tested e2c13db54 applied onto main 66d4f5aa3 on an AMD Radeon RX 7900 XT (AMD Radeon RX 7900 XT (RDNA3, gfx1100), AMD proprietary driver 32.0.32029.2010 (26.11.2), Windows 11 build 26300, VS 2022 RelWithDebInfo, Vulkan SDK 1.4.363.0). No game files. | test | main `66d4f5aa3` | this PR | |---|---|---| | `clear_color` (no GPU) | 515 checks passed | 567 checks passed, sRGB included | | `d3d12_clear_formats` | 251 clears matched WARP, 0 differ | **593 matched WARP, 0 differ** | | `d3d12_vulkan_device` | Passed | Passed | | `d3d12_state_sweep`, `d3d12_typeless_rtv`, `d3d12_rgb9e5_rtv`, `d3d12_clear_restricted_depth` | Passed | Passed | | `d3d12_clear` | Failed (NaN depth clear, #787) | Failed, the same | | full `ctest` | 311/314 | 311/314, the same three failures (`d3d12_texture_tiles` #964, `d3d12_close_parity`, since fixed by #1286, `d3d12_clear` #787) | This answers the open AMD question. `d3d12_vulkan_device` compares an sRGB-cast clear of {0.25, 0.5, 0.75} on a placed castable resource with the host runtime on the layer's own adapter, here the AMD D3D12 driver. It still passes with the WARP-style encoding: ``` placed castable formats (D3D-90): SRGB-cast and plain clears read back and compared with the host runtime on AMD Radeon RX 7900 XT (the layer's own adapter); refusals matched the host's ``` So, for these values at least, AMD's native D3D12 encodes sRGB clears the same way WARP does.
madhyn commented 2026-11-24 21:47:58 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by madhyn on 2026-11-24T21:47:58Z.


@MalexAson Here are the split numbers from the same Arch Linux + Wine 11.22 + RTX 3060 Ti setup:

  1. Unchanged main (6293c1c4f):
    • d3d12_clear_test.exe: exit 1 — d3d12_clear_test: 20 color/depth format(s) differ from WARP
    • d3d12_clear_formats_test.exe: exit 1 — clears: 152 matched WARP, 99 differ, 0 failed (8 DIFF SRGB lines, 91 non-SRGB)
  2. PR head (e2c13db54):
    • d3d12_clear_formats_test.exe: exit 1 — clears: 324 matched WARP, 269 differ, 0 failed
    • DIFF SRGB lines: 178 of 269 (leaving the exact same 91 non-SRGB vkd3d diffs as main).

AI-assisted: yes

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7145402878 --> Imported from [ubiquitarianism/leonida](https://github.com/ubiquitarianism/leonida/pull/1179#issuecomment-7145402878). Originally posted by [madhyn](https://github.com/madhyn) on 2026-11-24T21:47:58Z. --- @MalexAson Here are the split numbers from the same Arch Linux + Wine 11.22 + RTX 3060 Ti setup: 1. **Unchanged `main` (`6293c1c4f`):** - `d3d12_clear_test.exe`: exit `1` — `d3d12_clear_test: 20 color/depth format(s) differ from WARP` - `d3d12_clear_formats_test.exe`: exit `1` — `clears: 152 matched WARP, 99 differ, 0 failed` (`8` `DIFF SRGB` lines, `91` non-SRGB) 2. **PR head (`e2c13db54`):** - `d3d12_clear_formats_test.exe`: exit `1` — `clears: 324 matched WARP, 269 differ, 0 failed` - `DIFF SRGB` lines: **178** of 269 (leaving the exact same **91** non-SRGB vkd3d diffs as `main`). AI-assisted: yes
lixonik commented 2026-11-28 21:19:30 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by lixonik on 2026-11-28T21:19:30Z.

Review: COMMENTED


Merged "e2c13db54" locally with current main "aa918e5d9". Windows 10 22H2, MSVC 19.44: clear_color_test passed all 567 full and rectangular replay checks, including the sRGB command-value checks. This is CPU replay coverage.

AI-assisted.

<!-- greyfinch-sync:ubiquitarianism/leonida:review:6100129833 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/1179#pullrequestreview-6100129833). Originally posted by [lixonik](https://github.com/lixonik) on 2026-11-28T21:19:30Z. **Review:** COMMENTED --- Merged "e2c13db54" locally with current main "aa918e5d9". Windows 10 22H2, MSVC 19.44: clear_color_test passed all 567 full and rectangular replay checks, including the sRGB command-value checks. This is CPU replay coverage. AI-assisted.
zmasi commented 2026-11-29 02:00:27 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by zmasi on 2026-11-29T02:00:27Z.


Verification Report (e2c13db54a merged into main 59e65849b0)

  • Environment: Windows 11, MSVC 19.44 (Ninja Release), NVIDIA GeForce RTX 3090 (Ampere, driver 610.88, subgroup 32..32) + native Windows Microsoft WARP, Vulkan SDK 1.4.363.1 (LEONIDA_VK_VALIDATION=1 with VK_LAYER_KHRONOS_validation). No game data used (check_no_game_data.py rc=0).
  • Diff & Merge Audit: Merged e2c13db54a cleanly into origin/main (59e65849b0, 0 conflicts; 6 files changed: docs/d3d12_vulkan.md, runtime/src/vulkan_replay.h, runtime/test/clear_color_test.cpp, runtime/test/d3d12_clear_formats_test.cpp, runtime/test/d3d12_clear_test.cpp, runtime/test/d3d12_state_sweep_test.cpp). Verified srgb8_from_linear (rounding double(value) * 4095.0 to 24-bit single-precision mantissa via frexp/ldexp/round_half_even independent of host FP rounding mode, then floor(single + 0.5) / 4095.0 -> IEC 61966-2-1 nearest 8-bit code) and srgb8_linear (center linear float of the target code for RGB channels while keeping alpha on linear UNORM quantization).

Red -> Green Results (Independent Native Windows NVIDIA + WARP + Validation Run)

Target Base main vulkan_replay.h + #1179 tests Merged main + #1179 (e2c13db54a, LEONIDA_VK_VALIDATION=1)
d3d12_clear_formats_test (RTX 3090 vs WARP) RED (rc=1: clears: 428 matched WARP, 170 differ, 0 failed — all 170 diffs are DIFF SRGB, matching the 170/352 NVIDIA hardware sRGB step differences measured on RTX 4060) GREEN (rc=0: clears: 598 matched WARP, 0 differ, 0 failed, 0 in formats the layer does not expose, 0 skipped, 0 validation errors)
d3d12_srgb_uav_test (RTX 3090 vs WARP) — GREEN (rc=0: 8-bit sRGB UAV textures: 4 clears compared with WARP, 0 failures, 0 Vulkan validation errors)
clear_color_test (CPU replay) — GREEN (rc=0: 567 full/rectangle integer, normalised, sRGB and float replay checks passed)
d3d12_state_sweep_test (RTX 3090 vs native D3D12) — GREEN (rc=0: 498 cases compared with NVIDIA GeForce RTX 3090, 0 differ; 0 skipped, 0 validation errors)
d3d12_clear_test (RTX 3090 vs WARP) — GREEN (rc=0: RTV and DSV clears: 232 full/rectangle readbacks matched WARP, 0 validation errors)
test_docs_table_rows.py & test_docs_encoding.py — GREEN (rc=0)
  • Verdict: PASS (provides the requested independent native Windows NVIDIA + Microsoft WARP verification with Khronos Vulkan validation enabled; reproduces the exact 170/352 NVIDIA sRGB step differences on main and passes 598/598 against WARP and 498/498 in d3d12_state_sweep with 0 validation errors).

AI-assisted.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7249150873 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/1179#issuecomment-7249150873). Originally posted by [zmasi](https://github.com/zmasi) on 2026-11-29T02:00:27Z. --- ### Verification Report (`e2c13db54a` merged into `main` `59e65849b0`) - **Environment**: Windows 11, MSVC 19.44 (Ninja Release), **NVIDIA GeForce RTX 3090** (Ampere, driver `610.88`, subgroup `32..32`) + native Windows Microsoft WARP, Vulkan SDK `1.4.363.1` (`LEONIDA_VK_VALIDATION=1` with `VK_LAYER_KHRONOS_validation`). No game data used (`check_no_game_data.py` `rc=0`). - **Diff & Merge Audit**: Merged `e2c13db54a` cleanly into `origin/main` (`59e65849b0`, 0 conflicts; 6 files changed: `docs/d3d12_vulkan.md`, `runtime/src/vulkan_replay.h`, `runtime/test/clear_color_test.cpp`, `runtime/test/d3d12_clear_formats_test.cpp`, `runtime/test/d3d12_clear_test.cpp`, `runtime/test/d3d12_state_sweep_test.cpp`). Verified `srgb8_from_linear` (rounding `double(value) * 4095.0` to 24-bit single-precision mantissa via `frexp`/`ldexp`/`round_half_even` independent of host FP rounding mode, then `floor(single + 0.5) / 4095.0` -> IEC 61966-2-1 nearest 8-bit code) and `srgb8_linear` (center linear float of the target code for RGB channels while keeping alpha on linear UNORM quantization). #### Red -> Green Results (Independent Native Windows NVIDIA + WARP + Validation Run) | Target | Base `main` `vulkan_replay.h` + `#1179` tests | Merged `main` + `#1179` (`e2c13db54a`, `LEONIDA_VK_VALIDATION=1`) | |---|---|---| | `d3d12_clear_formats_test` (RTX 3090 vs WARP) | **RED** (`rc=1`: `clears: 428 matched WARP, 170 differ, 0 failed` — all **170** diffs are `DIFF SRGB`, matching the 170/352 NVIDIA hardware sRGB step differences measured on RTX 4060) | **GREEN** (`rc=0`: `clears: 598 matched WARP, 0 differ, 0 failed, 0 in formats the layer does not expose, 0 skipped`, `0` validation errors) | | `d3d12_srgb_uav_test` (RTX 3090 vs WARP) | — | **GREEN** (`rc=0`: `8-bit sRGB UAV textures: 4 clears compared with WARP, 0 failures, 0 Vulkan validation errors`) | | `clear_color_test` (CPU replay) | — | **GREEN** (`rc=0`: `567 full/rectangle integer, normalised, sRGB and float replay checks passed`) | | `d3d12_state_sweep_test` (RTX 3090 vs native D3D12) | — | **GREEN** (`rc=0`: `498 cases compared with NVIDIA GeForce RTX 3090, 0 differ; 0 skipped`, `0` validation errors) | | `d3d12_clear_test` (RTX 3090 vs WARP) | — | **GREEN** (`rc=0`: `RTV and DSV clears: 232 full/rectangle readbacks matched WARP`, `0` validation errors) | | `test_docs_table_rows.py` & `test_docs_encoding.py` | — | **GREEN** (`rc=0`) | - **Verdict**: **PASS** (provides the requested independent native Windows NVIDIA + Microsoft WARP verification with Khronos Vulkan validation enabled; reproduces the exact 170/352 NVIDIA sRGB step differences on `main` and passes 598/598 against WARP and 498/498 in `d3d12_state_sweep` with 0 validation errors). AI-assisted.
enlight3d commented 2026-11-29 09:03:25 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by enlight3d on 2026-11-29T09:03:25Z.


RUN #1179 | head e2c13db54a, merged cleanly with main 54b2a81e95 (local merge, not pushed)

Commands (from the repository root, in a worktree):

git fetch origin pull/1179/head:pr-1179
git checkout --detach origin/main && git merge --no-edit --no-ff pr-1179
cmake -S runtime -B runtime/build -G Ninja -DCMAKE_BUILD_TYPE=RelWithDebInfo -DLEONIDA_REQUIRE_VULKAN=ON
cmake --build runtime/build -j 8 --target gta6rt clear_color_test d3d12_clear_formats_test d3d12_clear_test d3d12_state_sweep_test d3d12_srgb_uav_test replay_clear_gate_test
ctest -C RelWithDebInfo -R "^(clear_color|d3d12_clear_formats|d3d12_clear|d3d12_state_sweep|d3d12_srgb_uav|replay_clear_gate)$" --output-on-failure -j1

Green (merged tree, GPU tests one at a time): clear_color, d3d12_clear_formats, d3d12_clear, d3d12_state_sweep, d3d12_srgb_uav, replay_clear_gate all pass (6/6).

Red, with the PR's tests kept and only runtime/src/vulkan_replay.h changed:

  • Behavioural, API kept: the new helpers stay, only the one line in render_target_clear_color that encodes the sRGB colour channels is removed. clear_color fails (0.5 on an sRGB target is passed on as 0.5, which encodes to 187.5, expected code 188) and d3d12_clear_formats fails (428 matched WARP, 170 differ). d3d12_clear, d3d12_state_sweep and d3d12_srgb_uav still pass in that state on this GPU.
  • Build only: vulkan_replay.h fully reverted to main, clear_color_test does not build (srgb8_linear is not a member of leonida::detail).

Link: no new imports vs main (gta6rt.exe, 723 DLL!symbol entries, same list as the baseline built from main).

The description asks a maintainer to decide between the layer encoding like WARP (this change) and keeping each GPU's own encoding; I did not weigh in on that, only checked that the tests behave as described on an RTX 3090.

Machine: RTX 3090 24 GB, NVIDIA 621.40, Windows 11 Pro 10.0.26300, MSVC 19.44, Vulkan SDK 1.4.363.1.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7253506553 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/1179#issuecomment-7253506553). Originally posted by [enlight3d](https://github.com/enlight3d) on 2026-11-29T09:03:25Z. --- RUN #1179 | head e2c13db54a0320c7c9d8ed3302dcb40e58469c08, merged cleanly with main 54b2a81e95c470c953ddee6177fd6255cbaf041d (local merge, not pushed) Commands (from the repository root, in a worktree): ``` git fetch origin pull/1179/head:pr-1179 git checkout --detach origin/main && git merge --no-edit --no-ff pr-1179 cmake -S runtime -B runtime/build -G Ninja -DCMAKE_BUILD_TYPE=RelWithDebInfo -DLEONIDA_REQUIRE_VULKAN=ON cmake --build runtime/build -j 8 --target gta6rt clear_color_test d3d12_clear_formats_test d3d12_clear_test d3d12_state_sweep_test d3d12_srgb_uav_test replay_clear_gate_test ctest -C RelWithDebInfo -R "^(clear_color|d3d12_clear_formats|d3d12_clear|d3d12_state_sweep|d3d12_srgb_uav|replay_clear_gate)$" --output-on-failure -j1 ``` Green (merged tree, GPU tests one at a time): `clear_color`, `d3d12_clear_formats`, `d3d12_clear`, `d3d12_state_sweep`, `d3d12_srgb_uav`, `replay_clear_gate` all pass (6/6). Red, with the PR's tests kept and only `runtime/src/vulkan_replay.h` changed: - Behavioural, API kept: the new helpers stay, only the one line in `render_target_clear_color` that encodes the sRGB colour channels is removed. `clear_color` fails (0.5 on an sRGB target is passed on as 0.5, which encodes to 187.5, expected code 188) and `d3d12_clear_formats` fails (428 matched WARP, 170 differ). `d3d12_clear`, `d3d12_state_sweep` and `d3d12_srgb_uav` still pass in that state on this GPU. - Build only: `vulkan_replay.h` fully reverted to main, `clear_color_test` does not build (`srgb8_linear` is not a member of `leonida::detail`). Link: no new imports vs main (gta6rt.exe, 723 DLL!symbol entries, same list as the baseline built from main). The description asks a maintainer to decide between the layer encoding like WARP (this change) and keeping each GPU's own encoding; I did not weigh in on that, only checked that the tests behave as described on an RTX 3090. Machine: RTX 3090 24 GB, NVIDIA 621.40, Windows 11 Pro 10.0.26300, MSVC 19.44, Vulkan SDK 1.4.363.1.
enlight3d commented 2026-11-29 18:22:53 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by enlight3d on 2026-11-29T18:22:53Z.


RUN #1179 | head e2c13db54a, merged cleanly with main 4364a4fa61 (local merge, not pushed)

Commands (repository root, temporary worktree):

git fetch origin pull/1179/head:pr-1179
git checkout --detach origin/main && git merge --no-edit --no-ff pr-1179
cmake -S runtime -B runtime/build -G Ninja -DCMAKE_BUILD_TYPE=RelWithDebInfo -DLEONIDA_REQUIRE_VULKAN=ON
cmake --build runtime/build -j 6 --target gta6rt clear_color_test d3d12_clear_test d3d12_clear_formats_test d3d12_state_sweep_test
ctest -C RelWithDebInfo -R "^(clear_color|d3d12_clear|d3d12_clear_restricted_depth|d3d12_rgb9e5_rtv|d3d12_clear_formats|d3d12_state_sweep)$" --output-on-failure -j1

Green (merged): 5 passed (clear_color, d3d12_clear, d3d12_clear_restricted_depth, d3d12_clear_formats, d3d12_state_sweep); d3d12_rgb9e5_rtv reports Skipped here (same on main, it is not about sRGB).

Red: runtime/src/vulkan_replay.h and the doc taken back from main, tests kept.

  • clear_color_test: build failure only (srgb8_linear and srgb8_from_linear do not exist in leonida::detail).
  • Behavioural: d3d12_clear_formats (builds on main, only uses the D3D12 API) FAILS with the layer change reverted; d3d12_clear, d3d12_clear_restricted_depth and d3d12_state_sweep still pass, so those three do not detect the change on this GPU.

Link: no new imports vs main (gta6rt.exe, 723 DLL!symbol entries on both, dumpbin /imports).

#2566: no conflict with #2566 (merge-tree of the two heads is clean).

Machine: RTX 3090 24 GB, NVIDIA 621.40, Windows 11 Pro 10.0.26300, MSVC 19.44, Vulkan SDK 1.4.363.1.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7260436685 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/1179#issuecomment-7260436685). Originally posted by [enlight3d](https://github.com/enlight3d) on 2026-11-29T18:22:53Z. --- RUN #1179 | head e2c13db54a0320c7c9d8ed3302dcb40e58469c08, merged cleanly with main 4364a4fa61f6bc42eefc94452c3a565fc530dd34 (local merge, not pushed) Commands (repository root, temporary worktree): ``` git fetch origin pull/1179/head:pr-1179 git checkout --detach origin/main && git merge --no-edit --no-ff pr-1179 cmake -S runtime -B runtime/build -G Ninja -DCMAKE_BUILD_TYPE=RelWithDebInfo -DLEONIDA_REQUIRE_VULKAN=ON cmake --build runtime/build -j 6 --target gta6rt clear_color_test d3d12_clear_test d3d12_clear_formats_test d3d12_state_sweep_test ctest -C RelWithDebInfo -R "^(clear_color|d3d12_clear|d3d12_clear_restricted_depth|d3d12_rgb9e5_rtv|d3d12_clear_formats|d3d12_state_sweep)$" --output-on-failure -j1 ``` Green (merged): 5 passed (`clear_color`, `d3d12_clear`, `d3d12_clear_restricted_depth`, `d3d12_clear_formats`, `d3d12_state_sweep`); `d3d12_rgb9e5_rtv` reports Skipped here (same on main, it is not about sRGB). Red: `runtime/src/vulkan_replay.h` and the doc taken back from main, tests kept. - `clear_color_test`: build failure only (`srgb8_linear` and `srgb8_from_linear` do not exist in `leonida::detail`). - Behavioural: `d3d12_clear_formats` (builds on main, only uses the D3D12 API) FAILS with the layer change reverted; `d3d12_clear`, `d3d12_clear_restricted_depth` and `d3d12_state_sweep` still pass, so those three do not detect the change on this GPU. Link: no new imports vs main (gta6rt.exe, 723 DLL!symbol entries on both, dumpbin /imports). #2566: no conflict with #2566 (merge-tree of the two heads is clean). Machine: RTX 3090 24 GB, NVIDIA 621.40, Windows 11 Pro 10.0.26300, MSVC 19.44, Vulkan SDK 1.4.363.1.
merzleckeier commented 2026-11-29 18:41:44 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by merzleckeier on 2026-11-29T18:41:44Z.


Independent native Vulkan replay check of e2c13db54 on main 7c330c76 (merge tree 4497bc4a). CachyOS, clang 23.1.5, AMD Raphael iGPU / RADV Mesa 26.3.1 and RTX 4070 SUPER / NVIDIA 620.73.04. Khronos validation 1.4.363 with synchronization validation enabled.

A synthetic fixture called the real leonida::replay clear path and read every pixel back from 4×4 images. It ran 98 clear colors per path across RGBA/BGRA, typed/UNORM-backed sRGB views, and whole-view/rectangle clears. The references are the 38 WARP-recorded points from clear_color_test plus 255 analytical sRGB half-code inputs evaluated with the documented WARP model. The typed whole-view path used vkCmdClearColorImage; rectangles and cast views used vkCmdClearAttachments.

GPU main RGB bytes different main + PR
AMD Raphael / RADV 11,152 / 23,520 0 / 23,520
RTX 4070 SUPER 12,800 / 23,520 0 / 23,520

The RADV typed whole-image clear on main stored 255 for the tested NaN in both formats (WARP reference 0). All other deviations were at most one code. Alpha and the pixels outside each rectangle matched on both revisions, with zero validation errors. The stock CPU clear_color_test also passed all 567 checks. Synthetic inputs only. AI-assisted with OpenAI Codex.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7260684643 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/1179#issuecomment-7260684643). Originally posted by [merzleckeier](https://github.com/merzleckeier) on 2026-11-29T18:41:44Z. --- Independent native Vulkan replay check of `e2c13db54` on `main` `7c330c76` (merge tree `4497bc4a`). CachyOS, clang 23.1.5, AMD Raphael iGPU / RADV Mesa 26.3.1 and RTX 4070 SUPER / NVIDIA 620.73.04. Khronos validation 1.4.363 with synchronization validation enabled. A synthetic fixture called the real `leonida::replay` clear path and read every pixel back from 4×4 images. It ran 98 clear colors per path across RGBA/BGRA, typed/UNORM-backed sRGB views, and whole-view/rectangle clears. The references are the 38 WARP-recorded points from `clear_color_test` plus 255 analytical sRGB half-code inputs evaluated with the documented WARP model. The typed whole-view path used `vkCmdClearColorImage`; rectangles and cast views used `vkCmdClearAttachments`. | GPU | `main` RGB bytes different | `main` + PR | | --- | ---: | ---: | | AMD Raphael / RADV | 11,152 / 23,520 | 0 / 23,520 | | RTX 4070 SUPER | 12,800 / 23,520 | 0 / 23,520 | The RADV typed whole-image clear on `main` stored 255 for the tested NaN in both formats (WARP reference 0). All other deviations were at most one code. Alpha and the pixels outside each rectangle matched on both revisions, with zero validation errors. The stock CPU `clear_color_test` also passed all 567 checks. Synthetic inputs only. AI-assisted with OpenAI Codex.
MoonEyes commented 2026-11-29 19:00:25 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by MoonEyes on 2026-11-29T19:00:25Z.


Merging. Head e2c13db54 has red/green verdicts from reviewers other than the author (above), merges cleanly with main 947c54aba, does not force a rebase of #2566, and carries a claim ID. Remaining main CI reds (translator-tests mesh, semantic-tests f16) are pre-existing. Merged by MoonEyes.

AI-assisted (Claude Code).

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7260930641 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/1179#issuecomment-7260930641). Originally posted by [MoonEyes](https://github.com/MoonEyes) on 2026-11-29T19:00:25Z. --- Merging. Head `e2c13db54` has red/green verdicts from reviewers other than the author (above), merges cleanly with `main` `947c54aba`, does not force a rebase of #2566, and carries a claim ID. Remaining main CI reds (`translator-tests` mesh, `semantic-tests` f16) are pre-existing. Merged by MoonEyes. AI-assisted (Claude Code).
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
ProjectLeonida/mandy!1179
No description provided.