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: Expand lines to triangles #15076

Merged
merged 3 commits into from
Nov 1, 2021
Merged

Conversation

unknownbrackets
Copy link
Collaborator

I tried to properly bias this down and right, like happens on hardware. This should fix issues with lines in various games, but I've just focused on drawing proper lines for now.

As in #15075, here are some line tests:
lines_square.zip

Line caps aren't really handled, but this largely covers #8276.

-[Unknown]

No longer used, since we convert lines to triangles now.
@ghost
Copy link

ghost commented Nov 1, 2021

This help #12257?

@unknownbrackets
Copy link
Collaborator Author

No, that doesn't involve lines at all so there's very little chance this would help that.

-[Unknown]

@hrydgard hrydgard merged commit 17d8071 into hrydgard:master Nov 1, 2021
@unknownbrackets unknownbrackets deleted the sw-lines branch November 1, 2021 13:53
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