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

softgpu: Correct linear interp for uneven positions #16241

Merged
merged 3 commits into from
Oct 17, 2022

Conversation

unknownbrackets
Copy link
Collaborator

This fixes the software renderer issues in #15755, as well as the text rendering in #16131. It also makes a frame dump from #11573 render bloom correctly (it was slightly off before.)

The triangle fan change doesn't change either of those, but I noticed a rectangle that was still triangles and so handled more generically.

-[Unknown]

If the start coordinate was something like 51.75, we were incorrectly
drawing to 51.  This can be seen in the Metal Slug intro (hrydgard#15755.)
Can't round to the pixel when calculating the S/T deltas.
This fixes issues in Wipeout (hrydgard#16131) and Call of Duty bloom.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants