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

Integer render target #490

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

thatcomputerguy0101
Copy link
Contributor

As used in #479, this adds support for render targets and GPU-side textures using integer data formats. I'm not 100% sold on the naming I chose for the new functions, so other ideas are welcome if you can think of something better.

@thatcomputerguy0101
Copy link
Contributor Author

An alternative to the duplicated functions that I implemented in this PR would be to introduce new wrapper types for u8 and i8 that make them interpreted as normalized fixed point values (the old implementation) instead of as integral values. However, that adds an extra layer of complexity to the primary use case, which I felt would be undesired.

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.

1 participant