1
0
Fork 0
forked from suyu/suyu
suyu/src
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
..
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: Fix values of unset components in input attribute arrays 2015-07-23 16:51:25 -03:00
CMakeLists.txt CMake cleanup 2014-09-01 18:06:30 -03:00