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

Add tests for immediate prims and fog calculation #223

Merged
merged 2 commits into from
Sep 18, 2022

Conversation

unknownbrackets
Copy link
Collaborator

@unknownbrackets unknownbrackets commented Sep 18, 2022

See hrydgard/ppsspp#16005, hrydgard/ppsspp#16042, and hrydgard/ppsspp#15978 for some additional comments.

Using imm verts, we can specify the 8-bit fog factor directly, rather than by slope, end, and Z. So this uses that to illustrate the rounding of fog factors * color values.

Antialias is not well tested for immediates, and the "clipping mask" (at least per some JPCSP code) bits don't have a clear function. Maybe it's even for range culling somehow...

Texture UV gen hasn't really been tested either, which might somehow use the q of UVs.

-[Unknown]

@hrydgard hrydgard merged commit d83d498 into hrydgard:master Sep 18, 2022
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