Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
It has often been recommended to avoid branching conditions in shaders.
Why? What happens exactly in modern GPUs in that case?
Is it still recommended to avoid branching?
Required, but never shown
9 months ago