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 and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.