yuzu/src/video_core
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
..
debug_utils Add CiTrace recording support. 2015-07-13 22:27:20 +02:00
renderer_opengl Merge pull request #977 from yuriks/glenable-tex2d 2015-07-23 10:07:35 -04:00
clipper.cpp Pica/Clipper: Output proper number of triangles in debugging logs. 2015-07-15 18:01:43 +02:00
clipper.h License change 2014-12-20 21:20:24 -08:00
CMakeLists.txt Move video_core/color.h to common/color.h 2015-05-30 11:17:37 -07:00
command_processor.cpp Merge pull request #929 from neobrain/geoshader_definitions 2015-07-21 15:24:48 +02:00
command_processor.h Core: Cleanup hw includes. 2015-06-28 00:46:39 +01:00
gpu_debugger.h core/video_core: Use in-place construction where possible 2015-02-17 17:57:23 -05:00
hwrasterizer_base.h Core: Cleanup hw includes. 2015-06-28 00:46:39 +01:00
pica.cpp Pica: Create 'State' structure and move state memory there. 2015-05-22 22:59:42 -04:00
pica.h Merge pull request #968 from Subv/texture_filtering 2015-07-21 18:27:50 -04:00
primitive_assembly.cpp Pica/Shader: Add geometry shader definitions. 2015-07-15 17:31:57 +02:00
primitive_assembly.h Merge pull request #291 from purpasmart96/license 2014-12-21 16:05:44 -05:00
rasterizer.cpp GPU: Added registers for min and mag texture filters and implemented them in the hw renderer. 2015-07-21 16:26:09 -05:00
rasterizer.h License change 2014-12-20 21:20:24 -08:00
renderer_base.h Core: Cleanup hw includes. 2015-06-28 00:46:39 +01:00
utils.cpp License change 2014-12-20 21:20:24 -08:00
utils.h video_core/utils: Remove unused variables in GetMortonOffset 2015-05-23 00:38:37 -04:00
vertex_shader.cpp VideoCore: Saturate vertex colors before interpolating 2015-07-23 16:51:24 -03:00
vertex_shader.h Pica/Shader: Add geometry shader definitions. 2015-07-15 17:31:57 +02:00
video_core.cpp Pica: Create 'State' structure and move state memory there. 2015-05-22 22:59:42 -04:00
video_core.h Common: Cleanup emu_window includes. 2015-06-28 00:36:54 +01:00