On 20/06/06, Ivan Gyurdiev ivg231@gmail.com wrote:
Is it really necessary to keep track of whether the shader uses fog or not? What happens if you disable this post-processing for a shader that doesn't write to the fog register?
Not "really necessary", but it does save a couple of GL state changes if fog isn't used in the shader, and it's pretty easy to keep track of.