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?
Computer Graphics Stack Exchange is a question and answer site for computer graphics researchers and programmers. It only takes a minute to sign up.
Sign up to join this communityIt 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?