Make a note when we need to reset the shader.

Hmm, not sure this is the cleanest way.