Is dynamic branching ok nowadays?

Back in the days the main reason to avoid branching in shader code was due to the GPU flushing all caches (even texture caches) and pipelines if a branch was hit… Thus if you hit a branch for every pixel… Your performance was pretty much toast.

As said, profile the code. Using PIX on Xbox 360 is just pure awesomeness.

SamiV.