Move the call to _tnl_UpdateFixedFunctionProgram to make
it easier for hardware drivers to test this out.
diff --git a/src/mesa/tnl/t_pipeline.c b/src/mesa/tnl/t_pipeline.c
index 9141219..8286760 100644
--- a/src/mesa/tnl/t_pipeline.c
+++ b/src/mesa/tnl/t_pipeline.c
@@ -126,6 +126,10 @@
* (ie const or non-const).
*/
if (check_input_changes( ctx ) || tnl->pipeline.new_state) {
+#if TNL_FIXED_FUNCTION_PROGRAM
+ _tnl_UpdateFixedFunctionProgram( ctx );
+#endif
+
for (i = 0; i < tnl->pipeline.nr_stages ; i++) {
struct tnl_pipeline_stage *s = &tnl->pipeline.stages[i];
if (s->validate)