mirror of
https://github.com/MacosPorters/betterxen.git
synced 2026-11-27 01:30:44 +00:00
An independent review of the #214 tests found that the full-texel check applied the two-code interpolation tolerance to every channel, so an endpoint, a BC2 alpha nibble or BC3's fixed 0 or 255 outside the anchors could be off by two and still pass. The tolerance now comes from each texel's own indices: zero for stored and fixed codes, two only for interpolated ones. A readback kernel that lowers near-opaque alpha by two now fails all three tests. The 1.14-code bound is stated as 8/7. Signed-off-by: elforeign <324243036+elforeign@users.noreply.github.com>