i am doing shader work in the geometry shader a particle system and thought that doing a check at the beginning and doing an early return then it would speed up the whole project .
i found that no speed improvement was made.
i even tryed doing a modular test so it would return every time apart from the 1000 particle , it still made no difference
what can i do for early return so that it will speed up the process ?