diff options
| author | bobcatchris <83428450+bobcatchris@users.noreply.github.com> | 2026-11-22 00:11:13 -0600 |
|---|---|---|
| committer | bobcatchris <83428450+bobcatchris@users.noreply.github.com> | 2026-11-22 00:11:13 -0600 |
| commit | a4728898adcae7d48adb23c60f22497c5d9e056e (patch) | |
| tree | 7b36ba7c432f2c8a78ca26461690d64be8b5585c /runtime/src/main.cpp | |
| parent | 43d470316ec6cbcd64002bc3792998d9f5745dac (diff) | |
Translator: clamp run-time gather LOD with FMax/FMin
LLPC 26.10.1 miscompiles the run-time FClamp on the explicit-gather path and
leaves the fetch at mip 0 when MIN_LOD should raise it (#1032). Keep FClamp
when the S# bounds are literals, and use FMax then FMin for a run-time S#,
which is the same clamp for min <= max. Add a translator test that pins the
run-time path away from FClamp.
🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
Diffstat (limited to 'runtime/src/main.cpp')
0 files changed, 0 insertions, 0 deletions