diff options
| author | AlxcBTW <187763517+AlxcBTW@users.noreply.github.com> | 2026-11-22 14:01:03 +0100 |
|---|---|---|
| committer | AlxcBTW <187763517+AlxcBTW@users.noreply.github.com> | 2026-11-22 14:01:03 +0100 |
| commit | cb439236d1abb0fa2c0160b1e1bdc182f02961d6 (patch) | |
| tree | bc461d4a9bccef275dc6a7aa9804826a788cc50c /runtime/src/thread_stacks.cpp | |
| parent | 11c363e3a781e9dc1e3c2fbdce97cce2e390ac51 (diff) | |
d3d12_vulkan_device_test: compare the placed castable clears with the layer's own adapter
Float -> UNORM at an exact tie (0.5 * 255 = 127.5) may map to either code
(D3D11.3 functional spec 3.2.3.6, 0.6 ULP tolerance). Native D3D12 gives 0x7f on
NVIDIA (RTX 3080 616.64, RTX 3090 610.88; Vulkan too) and 0x80 on Radeon and
WARP, so comparing the layer on NVIDIA with a host on another adapter failed
the placed plain clear. The host is now the layer's own adapter (LUID, then PCI
ids) unless LEONIDA_HOST_ADAPTER names one, and the output says which adapter
it was and whether it is the layer's. Against a different adapter or WARP an
exact tie may differ by one code; every other byte stays exact. The layer is
unchanged.
Measurements and review by @Rainmaker33 and @Flyander.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/src/thread_stacks.cpp')
0 files changed, 0 insertions, 0 deletions