1
0
Fork 0
forked from suyu/suyu
suyu/src
Yuri Kunde Schlesner 4e09202226 VideoCore: Saturate vertex colors before interpolating
During testing, it was discovered that hardware does not interpolate
colors output by the vertex shader as-is. Rather, it drops the sign and
saturates the value to 1.0. This is done before interpolation, such that
(e.g.) interpolating outputs 1.5 and -0.5 is equivalent to as if the
shader had output the values 1.0 and 0.5 instead, with the interpolated
value never crossing 0.0.

This change has been tested against hardware.
2015-07-23 16:51:24 -03:00
..
citra Implement new argument parsing using getopt and add the corresponding library to externals 2015-07-12 15:49:23 -04:00
citra_qt Merge pull request #929 from neobrain/geoshader_definitions 2015-07-21 15:24:48 +02:00
common Common: Remove the unused and commented GetThemeDir prototype from FileUtil. 2015-07-18 13:08:19 +01:00
core Merge pull request #962 from Subv/am_app 2015-07-21 18:26:31 -04:00
video_core VideoCore: Saturate vertex colors before interpolating 2015-07-23 16:51:24 -03:00
CMakeLists.txt