Skip to content
  • Niklas Haas's avatar
    shaders/colorspace: clip before tone-mapping functions · 5ad4bcce
    Niklas Haas authored
    To prevent logic errors when overflowing e.g. the BT.2390 function, and
    also make functions behave more predictably on overflow in general.
    
    This ensures no function will ever see something larger than sig_peak.
    Requires changes to `clip` and `linear` to make them work properly
    again.
    5ad4bcce
Loading