RSS Bot@lemmy.bestiver.seMB to Hacker News@lemmy.bestiver.seEnglish · vor 2 MonatenThe Weird Concept of Branchless Programmingsanixdk.xyzexternal-linkmessage-square2linkfedilinkarrow-up118arrow-down10file-text
arrow-up118arrow-down1external-linkThe Weird Concept of Branchless Programmingsanixdk.xyzRSS Bot@lemmy.bestiver.seMB to Hacker News@lemmy.bestiver.seEnglish · vor 2 Monatenmessage-square2linkfedilinkfile-text
minus-squareTootSweet@lemmy.worldlinkfedilinkEnglisharrow-up1·edit-2vor 2 MonatenIt’s not that weird, is it? Aren’t shaders that run on your GPU pretty weird about branches in a way that kindof necessitates a mostly-branchless style of coding? (If you want your shaders to run efficiently, that is.)
minus-squaredontbelievethis@sh.itjust.worksBannedlinkfedilinkEnglisharrow-up4·vor 2 MonatenI don’t know.
It’s not that weird, is it? Aren’t shaders that run on your GPU pretty weird about branches in a way that kindof necessitates a mostly-branchless style of coding? (If you want your shaders to run efficiently, that is.)
I don’t know.