0
$\begingroup$

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?

$\endgroup$

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.