dolphin/Source/Core/VideoBackends
Stenzek 260d5b7aa7 BPMemory: Handle fog configuration where both A and C are infinity/NaN
The console appears to behave against standard IEEE754 specification
here, in particular around how NaNs are handled. NaNs appear to have no
effect on the result, and are treated the same as positive or negative
infinity, based on the sign bit.

However, when the result would be NaN (inf - inf, or (-inf) - (-inf)),
this results in a completely fogged color, or unfogged color
respectively. We handle this by returning a constant zero for the A
varaible, and positive or negative infinity for C depending on the sign
bits of the A and C registers. This ensures that no NaN value is passed
to the GPU in the first place, and that the result of the fog
calculation cannot be NaN.
2018-02-01 17:40:39 +10:00
..
D3D Merge pull request #6303 from TraceBullet/auto-adjust-window-size 2018-01-29 17:28:44 +10:00
Null AbstractTexture: Move Bind() method to Renderer 2018-01-22 13:22:09 +10:00
OGL Merge pull request #6303 from TraceBullet/auto-adjust-window-size 2018-01-29 17:28:44 +10:00
Software BPMemory: Handle fog configuration where both A and C are infinity/NaN 2018-02-01 17:40:39 +10:00
Vulkan Merge pull request #6303 from TraceBullet/auto-adjust-window-size 2018-01-29 17:28:44 +10:00
CMakeLists.txt CMake: remove references to D3D12 2017-05-26 01:16:04 -07:00