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

GPU: Force use of indexes on cull mode flip #11613

Merged
merged 1 commit into from
Nov 30, 2018

Conversation

unknownbrackets
Copy link
Collaborator

Since we flip in the index, it can't be pure in this case. Fixes #11601 for real maybe.

We were lucky enough to hit the triangle just at MAX_DEFERRED_DRAW_CALLS, so it flushed right before. This meant that the clipped cull mode triangle draw was the only thing in the index generator. Tricky.

I also added SetDrawType() for safety, but I'm not convinced the things it does are needed, except for non-triangles (which is already handled in PrimCompatible, so maybe the dirtying should be moved in there...)

-[Unknown]

Since we flip in the index, it can't be pure in this case.
@unknownbrackets unknownbrackets added this to the v1.8.0 milestone Nov 30, 2018
@hrydgard hrydgard merged commit d1cf34c into hrydgard:master Nov 30, 2018
@unknownbrackets unknownbrackets deleted the cullmode branch November 30, 2018 20:28
@ghost
Copy link

ghost commented Dec 1, 2018

No Android Build For v1.7.1-219-gd1cf34cdf?

@unknownbrackets
Copy link
Collaborator Author

It's here: https://buildbot.orphis.net/ppsspp/index.php?m=fulllist

Seems like some sort of caching bug. May be related to the timeout running Windows tests, hopefully fixed in #11614.

-[Unknown]

@ghost
Copy link

ghost commented Dec 1, 2018

It's totally fixed now TY :)

Screenshot

screenshot_2018-12-01-11-10-43

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.

2 participants