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

GS/HW: Improve RT/Blend min max detection based on DATE and ATE. #10901

Merged
merged 4 commits into from
Mar 12, 2024

Conversation

lightningterror
Copy link
Contributor

@lightningterror lightningterror commented Mar 9, 2024

Description of Changes

GS/HW: Calculate blend/rt alpha min/max based on alpha test.

GS/HW: Adjust blend_alpha_min/max based on DATE.

Rationale behind Changes

Accuracy, will improve hw blending with Ad operations, requires less sw blend (less barriers, copies, draw calls).
Will also help #10853 requiring less copies.

Suggested Testing Steps

Persona 3 shows a slight difference matching it more to sw renderer, I expect dx11/12 to show more differences, other than that shows slight barrier reductions in other games.

@lightningterror lightningterror changed the title GS/HW: Improve RT/Blend min max detection. GS/HW: Improve RT/Blend min max detection based on DATE and ATST. Mar 9, 2024
@lightningterror lightningterror changed the title GS/HW: Improve RT/Blend min max detection based on DATE and ATST. GS/HW: Improve RT/Blend min max detection based on DATE and ATE. Mar 9, 2024
@refractionpcsx2 refractionpcsx2 merged commit b499285 into master Mar 12, 2024
22 checks passed
@lightningterror lightningterror deleted the gs_alpha_min_max branch March 12, 2024 14:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants