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

4x4 pixel quads #11

Open
adamschackart opened this issue Mar 27, 2023 · 1 comment
Open

4x4 pixel quads #11

adamschackart opened this issue Mar 27, 2023 · 1 comment

Comments

@adamschackart
Copy link

Expanding pixel quads from 2x2 to 4x4 could open up the possibility of AVX2 or even AVX512 optimizations. The edge and gradient equations make this tricky, as well as cubemap sampling (they all set individual SIMD lanes, and fixing that exceeds my current understanding of the math behind software rasterization). One thing that would make this easier is to make QInt/QFloat classes so they could be replaced by Int16X/Float16X or something like that.

I would also like to poke again at issue #7 :)

@adamschackart
Copy link
Author

Another (unlikely and ugly) possibility is 8x2 quads, so that 2x2 sub-quads could be operated on where necessary and math could be widened everywhere else.

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

No branches or pull requests

1 participant