Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This is very much changing. IMHO, doing shader language design today, you should give let the programmer express things in the most natural way possible, and let the compiler figure out whether to generate a branch or branchless code. Yes, often you want the latter, but compilers are pretty good at figuring that out.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: