Skip to content

etnaviv: fix fixpoint conversion of negative values

Lucas Stach requested to merge lynxeye/mesa:etnaviv-fix-negative-fp into main

The hand rolled etnaviv conversion functions were able to handle negative input values when converting to fixpoint. By replacing them with U_FIXED all negative values are clamped to zero, which breaks usages where negative inputs are valid, like lodbias.

Merge request reports