A Note on Branching Within a Shader

made by Peter Stefek, submitted by porterjamesj
An analysis of when using if statements in GPU code actually reduces performance.