Move tgsi machine state init/allocations so they're done less frequently.
authorBrian <brian.paul@tungstengraphics.com>
Tue, 2 Oct 2007 17:46:11 +0000 (11:46 -0600)
committerBrian <brian.paul@tungstengraphics.com>
Tue, 2 Oct 2007 17:46:11 +0000 (11:46 -0600)
commit0d13ade0cdd38759936a74824efbd6ac8b563aed
tree1fe31314186843a968470d42f0151ccea410ad7d
parent57d3770f35730bef17e5d93bd424a59eb6daec4c
Move tgsi machine state init/allocations so they're done less frequently.

This, plus expanding all instructions ahead of time, seems to have improved
the performance of program execution by 8x or so.
src/mesa/pipe/draw/draw_private.h
src/mesa/pipe/draw/draw_vertex_shader.c
src/mesa/pipe/softpipe/sp_quad_fs.c
src/mesa/pipe/tgsi/exec/tgsi_exec.c
src/mesa/pipe/tgsi/exec/tgsi_exec.h