diff options
| author | AlxcBTW <187763517+AlxcBTW@users.noreply.github.com> | 2026-11-22 13:39:10 +0100 |
|---|---|---|
| committer | AlxcBTW <187763517+AlxcBTW@users.noreply.github.com> | 2026-11-22 13:39:10 +0100 |
| commit | f4eab25ec289de1d9e2f6a0eb04d98953bd66e45 (patch) | |
| tree | 6f20a36567704f76f50d86c6713ea94298371b36 /runtime/src/pe_loader.cpp | |
| parent | 99f99890c5ebe186ef2f9fe8ff6d675745d9e621 (diff) | |
Replay: a UNORM clear's rounding tie goes up on NVIDIA too
D3D12 converts a float clear to the nearest UNORM code with a tie going up
(0.5 * 255 = 127.5 is 0x80, per WARP and the Radeon host). Vulkan leaves the
tie to the GPU and NVIDIA rounds it down (0x7f), so the placed castable clear
in d3d12_vulkan_device_test differed on the RTX 5070. render_target_clear_color
now hands Vulkan the code above an exact tie (code / max) for the 8- and 16-bit
UNORM formats; every other value is passed through. Pinned in
replay_clear_gate_test; clear_color_test expects the same.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/src/pe_loader.cpp')
0 files changed, 0 insertions, 0 deletions