3 ms·
I think that capability in the shader language would be interesting to have. One might even want it to two-color all functions in the code. Anything annotated n
by plagiarist 2y ago
I think that capability in the shader language would be interesting to have. One might even want it to two-color all functions in the code. Anything annotated nonbranching must have if statements compile down to conditional moves and must only call nonbranching functions.
- catlifeonmars 2y agoThis is also very relevant for cryptography use cases, where branching is a potential side channel for leaking secret information.