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

Swizzling in NV2A is broken #6

Closed
JayFoxRox opened this issue Jun 27, 2018 · 0 comments · Fixed by #28
Closed

Swizzling in NV2A is broken #6

JayFoxRox opened this issue Jun 27, 2018 · 0 comments · Fixed by #28

Comments

@JayFoxRox
Copy link
Member

JayFoxRox commented Jun 27, 2018

There are 2 unswizzling routines, one is severly limited and was taken from screenshot code by @Ernegien . It only supports 640x480 with pitch of 2560 and 32 bpp.

I don't remember where I took the other algorithm from, but it doesn't seem to work for the surfaces.

I wonder if there are different swizzling modes or surface/textures differences, such as tiling.
Overall, the code should be rewritten and get more testing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

1 participant