r5xx: We update max_temp_idx now, so no need to hard-code it.

This roughly doubles the speed of glxgears (GINAB) by allowing
more pixels to run concurrently.
This commit is contained in:
Corbin Simpson 2008-05-06 12:42:40 -07:00
parent 171ba1d0d1
commit fa465fb2b1

View file

@ -619,7 +619,7 @@ static void init_program(r300ContextPtr r300, struct r500_fragment_program *fp)
fp->cur_node = 0;
fp->first_node_has_tex = 0;
fp->const_nr = 0;
fp->max_temp_idx = 64;
fp->max_temp_idx = 0;
fp->node[0].alu_end = -1;
fp->node[0].tex_end = -1;