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 that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.