flyingdevelopmentstudio/MonoGame — pull request #20 by rgba8 (2014-12-10 12:42:17+00:00)
Title: Fix : The constant buffer cache is always dirty.

The constant buffer cache is always dirty, so we end up trying to upload uniforms on a shaders where they do not exists.

Draw with Shader A : uploading vs_uniform_A and ps_uniform_A
Draw with Shader B (no ps uniforms) : uploading vs_uniform_B but, we'll still try to upload ps_uniform_A.