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?


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.