1
$\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$
2

0

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.