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: Validate depth test setup to avoid address contention #6956

Merged
merged 2 commits into from Nov 7, 2019

Conversation

kd-11
Copy link
Contributor

@kd-11 kd-11 commented Nov 6, 2019

If depth write is disabled, depth test is enabled but depth test func is not per-fragment, skip the depth stage. Fixes contention is some games that incorrectly set up framebuffer data. e.g a game sets all of the targets for depth and color to the same address and wants to render to color. They disable depth write, but depth test is enabled and using always pass function to skip the test instead of actually disabling depth test itself (MLB 08 The Show).

@kd-11 kd-11 mentioned this pull request Nov 6, 2019
@incognitoh
Copy link

yep, fixed now. nice work as always

ml8

@kd-11 kd-11 changed the title [TESTERS NEEDED] rsx: Validate depth test setup to avoid address contention rsx: Validate depth test setup to avoid address contention Nov 7, 2019
@kd-11 kd-11 merged commit 8d15057 into RPCS3:master Nov 7, 2019
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

2 participants