I have a deferred renderer which has so far not given me any problems. However, I want to add anisotropic lighting support per this paper:
http://developer.amd.com/wordpress/media/2012/10/ShaderX_PerPixelAniso.pdf
I can store the necessary date in the gbuffers, but it basically means I have two different lighting methods in my lighting shader. I'm probably going to just do a dynamic branching statement to determine if I should use the anisotropic lighting or not. The dynamic flow control should have good spatial coherency, but I'm wondering if there is another good approach besides branching?