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

Mali: Turn off any depth writes in the shader if depth test == NEVER #18813

Merged
merged 2 commits into from
Feb 2, 2024

Conversation

hrydgard
Copy link
Owner

@hrydgard hrydgard commented Feb 2, 2024

Works around #18806.

If this breaks graphics in any game, they already crashed on Mali. NEVER is very rare too.

So I think there's no way this is a risk, except for the very tiny change of adding DIRTY_FRAGMENTSHADER_STATE on ZTEST changes. We could gate it on Mali, though I don't think it's gonna regress anything.

@hrydgard hrydgard added the GE emulation Backend-independent GPU issues label Feb 2, 2024
@hrydgard hrydgard added this to the 1.17.1 milestone Feb 2, 2024
@hrydgard hrydgard merged commit 7d894b8 into master Feb 2, 2024
18 checks passed
@hrydgard hrydgard deleted the ufc-crash-work branch February 2, 2024 10:51
@hrydgard
Copy link
Owner Author

Hm, this was strangely reported to cause lost devices on some Intel GPUs by Flannette on Discord:

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
GE emulation Backend-independent GPU issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant