https://github.com/GPUOpen-LibrariesAndSDKs/Cauldron/blob/master/src/DX12/shaders/Tonemappers.hlsl#L75 https://github.com/GPUOpen-LibrariesAndSDKs/Cauldron/blob/master/src/DX12/shaders/Tonemappers.hlsl#L77 There are 2 abs, which I believe are useless since ratio should always be in 0..1 as long as colors are >=0
https://github.com/GPUOpen-LibrariesAndSDKs/Cauldron/blob/master/src/DX12/shaders/Tonemappers.hlsl#L75
https://github.com/GPUOpen-LibrariesAndSDKs/Cauldron/blob/master/src/DX12/shaders/Tonemappers.hlsl#L77
There are 2 abs, which I believe are useless since ratio should always be in 0..1 as long as colors are >=0