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

shader_recompiler: Fix image write swizzles. #2236

Merged
merged 1 commit into from
Jan 24, 2025

Conversation

squidbus
Copy link
Collaborator

Component mapping for swizzle needs to be inverted for image writes. For example, if the swizzle is [000R], it means that alpha should be written to red, not that red should be written to alpha.

Fixes videos in CUSA01047 intro. I believe this fixes baldness in CUSA00900 as well (#1858).

@StevenMiller123
Copy link
Contributor

image
image
image
Fixes copyright screens in Marvel's Spider-Man.

@bigol83
Copy link
Contributor

bigol83 commented Jan 24, 2025

Component mapping for swizzle needs to be inverted for image writes. For example, if the swizzle is [000R], it means that alpha should be written to red, not that red should be written to alpha.

Fixes videos in CUSA01047 intro. I believe this fixes baldness in CUSA00900 as well (#1858).

Yes, it fixes Bloodborne baldness

image

@squidbus squidbus merged commit a51c8c1 into shadps4-emu:main Jan 24, 2025
12 checks passed
@rafael-57
Copy link
Contributor

Thank you!!!!! Looks great
photo_2025-01-25_23-20-31

@squidbus squidbus deleted the fix-swiz branch January 27, 2025 12:54
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.

None yet

4 participants