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: Keep prevPrim_ set on flush #16614

Merged
merged 2 commits into from
Dec 18, 2022

Conversation

unknownbrackets
Copy link
Collaborator

For continuing previous verts, see #16612. We still don't handle these quite accurately (outside software rendering), but this should be better.

Looked into git history and the path, I see no reason we need to clear this - we've just been doing it for a long time, since before even we knew what that other prim type did.

And since we never set prevPrim_ for GE_PRIM_KEEP_PREVIOUS, it was wrong if we previously flushed. It would still be wrong even after fixing flush on first draw, so might as well fix both places.

-[Unknown]

For continuing previous verts, see hrydgard#16612.  We still don't handle these
quite accurately (outside software rendering), but this should be better.
Wasn't enough to set prim temporarily here.
@unknownbrackets unknownbrackets added this to the v1.14.1 milestone Dec 18, 2022
@unknownbrackets unknownbrackets added the GE emulation Backend-independent GPU issues label Dec 18, 2022
@hrydgard hrydgard merged commit 710e638 into hrydgard:master Dec 18, 2022
@unknownbrackets unknownbrackets deleted the continue-prev branch December 18, 2022 16:02
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.

2 participants