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:
authorRafael <rafaelalvesp2005@gmail.com>2026-11-22 12:49:24 -0300
committerRafael <rafaelalvesp2005@gmail.com>2026-11-22 12:49:24 -0300
commit006af9d9d3ee21583188836496df82ebc5b864dd (patch)
treee37133e6c5bc37307005bf491c3e434d4fc1e2a4 /runtime/src/pe_loader.cpp
parent9420e70bb23a42b59f9ff2b47741f7d4391fa3e2 (diff)
d3d12_first_light: bound the adjacent-half pixel count
From @Flyander's review of #2001: one_f16_step pixels were counted but not limited, so a regression that moved every covered pixel by one half step would pass (only differ == 0 was checked). An adjacent half only appears where the f32 interpolant is a few ulps from an f16 truncation boundary (1 pixel of 12,804 covered on the RTX 3060), so at most one covered pixel in a thousand may be one step apart. Checked both ways: the real image passes (1 pixel); a reference with all 12,804 covered pixels moved one half step fails at the new bound. 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