logoalt Hacker News

zozbot234today at 1:41 AM0 repliesview on HN

The GPU shader just calls back to the CPU which executes the OS-specific function and relays the answer to the GPU side. It might not make much sense on its own to have such strong coupling, but it gives you a default behavior that makes coding easier.