upleb.uk

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

summaryrefslogtreecommitdiff
path: root/runtime/src/pe_loader.cpp
diff options
context:
space:
mode:
authorAlxcBTW <187763517+AlxcBTW@users.noreply.github.com>2026-11-22 13:39:10 +0100
committerAlxcBTW <187763517+AlxcBTW@users.noreply.github.com>2026-11-22 13:39:10 +0100
commitf4eab25ec289de1d9e2f6a0eb04d98953bd66e45 (patch)
tree6f20a36567704f76f50d86c6713ea94298371b36 /runtime/src/pe_loader.cpp
parent99f99890c5ebe186ef2f9fe8ff6d675745d9e621 (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