Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AArch64] Fix a couple of bugs in the vertex loader #2638

Conversation

Sonicadvance1
Copy link
Contributor

In particular this fixes the 6666 colour format
We were loading from the wrong location and it was causing /terrible/ colour changes.

This also fixes a bug in all the colour formats (except 888) where the unaligned path was loading in to the wrong register.

In particular this fixes the 6666 colour format
We were loading from the wrong location and it was causing /terrible/ colour changes.

This also fixes a bug in the all the colour formats(except 888) where the unaligned path was loading in to the wrong register.
@Sonicadvance1
Copy link
Contributor Author

Thinking about this, the code can be optimized to nearly double the throughput in most of the colour decodings by using two registers. Each one for each of the two components and then combining them at the end.

This would be something to do in a different PR.

@degasus
Copy link
Member

degasus commented Jun 21, 2015

LGTM, fixes those strange colors in peach castle.

Sonicadvance1 added a commit that referenced this pull request Jun 21, 2015
…colour

[AArch64] Fix a couple of bugs in the vertex loader
@Sonicadvance1 Sonicadvance1 merged commit b0bc60d into dolphin-emu:master Jun 21, 2015
@Sonicadvance1 Sonicadvance1 deleted the aarch64_fix_vertexloader_colour branch June 21, 2015 17:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants