diff options
| author | Rafael <rafaelalvesp2005@gmail.com> | 2026-11-22 12:33:52 -0300 |
|---|---|---|
| committer | Rafael <rafaelalvesp2005@gmail.com> | 2026-11-22 12:36:51 -0300 |
| commit | 2f9b2a76a292ef4a99a0b237ad60f53f73a483e4 (patch) | |
| tree | b280c4c704fd3c8d9606f7524e6d087da406a804 /runtime/src/pe_loader.cpp | |
| parent | 6c73872cad83fd6166d5a7e37d6918b995ac50db (diff) | |
d3d12_first_light: exact f16 adjacency, required reference image, UV probes
From @Vonsek's review of #2001:
- The one-f16-step tolerance compared |a - b| with a step taken from the larger value's exponent, so it
accepted two steps across an exponent boundary (0x3bfe vs 0x3c00) and refused one step in the subnormal
range (0 vs 0x0001). Both values must now be exact halves whose ordered half index differs by at most
one; the test checks those four controls itself before comparing.
- A missing or empty image.raw skipped the whole-image comparison silently. It is now required, with a
message to run first_light.py --run.
- The UV probes first_light.py writes (pixels where U and V differ) are checked as well as the centre.
RTX 3060: 4 UV probes match; 16,383 of 16,384 pixels bit-exact, 1 one f16 step apart; 0 validation messages.
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