Skip to content
  • Connor Abbott's avatar
    bifrost: Add support for min/max mode and rounding mode · 36ee55ff
    Connor Abbott authored
    We split the original TwoSrcFmod category in two, since the two unknown
    bits can mean two different things. They either specify the rounding
    mode or the min/max mode. The nan_wins mode is used for implementing
    exp() and exp2(), although the other 2 non-default modes are sadly
    unused by the compiler. The different rounding modes aren't used for GL,
    although apparently they can be used in OpenCL.
    36ee55ff