wouldn't llvmpipe work better overall?
Oh, interesting. I was thinking about just having a 1-bit array of tiles and using SIMD to quickly set them and check for occlusion. (Actually when I prototyped this, SIMD wasn’t even really necessary.)
-
-
Like, if you have 16x16 tiles at 4K, that’s 4 64-bit words per scanline. That fits in one YMM register, so for rectangular regions you load one pattern, do just one test, and bitwise or for update.
-
You'd still paint front to back? How do you handle blended pixels? I suppose they would need depth information if done in a separate pass
- 5 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.