citra/src/video_core
Yuri Kunde Schlesner 1fe9b0b82e VideoCore: Fix values of unset components in input attribute arrays
If an input attribute array had a field with less than 4 components, the
remaining components were left unset if not specified by a default
vertex attribute. If neither mechanism would set a component, it would
assume a garbage value.

It has been verified that the hardware behavior is to instead to set the
missing components from the fixed default of (0 0 0 1). The default
vertex attribute values aren't used at all if a vertex array is
specified for that attribute.

Fixes UI graphics on Fire Emblem: Awakening, a small texturing glitch
when selecting a character in Cubic Ninja, as well as eliminating the
unset-W hack which was required for Ocarina of Time to not have
garbled triangles.

This change has been tested against hardware.
2015-07-23 16:51:25 -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 VideoCore: Fix values of unset components in input attribute arrays 2015-07-23 16:51:25 -03: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