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

rsx: Simplify support for ABGR formats #8713

Merged
merged 4 commits into from Aug 12, 2020
Merged

Conversation

kd-11
Copy link
Contributor

@kd-11 kd-11 commented Aug 10, 2020

Map these formats to RGBA layout. While this layout was not supported by some drivers when Vulkan launched, things have improved a lot over the years and now RGBA layout is widely supported. This avoids using compute shaders and sampler swizzle shenanigans in several places.

Fixes #8456

@MarioSonic2987
Copy link
Contributor

MarioSonic2987 commented Aug 10, 2020

Fixes broken graphics in GTA IV, a regression caused by #8438.

Before:
image

After:
image

Unrelated to this, skybox is now fixed. Previously, it looked like this:
image

@kd-11
Copy link
Contributor Author

kd-11 commented Aug 11, 2020

Fixed some Red-blue channel swapping when capturing screenshots.

@kd-11
Copy link
Contributor Author

kd-11 commented Aug 11, 2020

Fixed bogus error message about format not being supported, was a typo on my side.

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

Successfully merging this pull request may close these issues.

GTA IV has broken graphics after #8438
2 participants