Mipmap selection in too much detail
pema.dev5 points by luu 3 days ago
5 points by luu 3 days ago
Author here - I imagine this is a bit too niche to get much traction on HN. There's a bit of discussion on bsky https://bsky.app/profile/pema99.bsky.social/post/3lotdtgowf2...
"You couldn’t implement these functions yourself - they are magic intrinsics which are implemented in hardware"
But why?There simply isn't another way to access registers from one 'thread' on another thread without using an intrinsic. You need that to calculate finite differences. For a long time, the only option was ddx()/ddy(). Now we also wave intrinsics, which you couldn't implement yourself either.