i965: Collect GLSL src/dst regs up in generic code.
authorEric Anholt <eric@anholt.net>
Wed, 12 Aug 2009 19:56:35 +0000 (12:56 -0700)
committerEric Anholt <eric@anholt.net>
Sat, 7 Nov 2009 05:08:54 +0000 (21:08 -0800)
commit0f34cdf6210b748db77c5eba2993637f4af6faeb
tree63d3efb862060c726a850869bf7c20775fa28bb1
parente521bf7706a5527ad5750baef78feaa961f73ecc
i965: Collect GLSL src/dst regs up in generic code.

This matches brw_wm_emit.c, which we'll be using shortly.  There's a
possible penalty here in that we'll allocate registers for unused channels,
since we aren't doing ref tracking like brw_wm_pass*.c does.  However, my
measurements on GM965 don't show any for either OA or UT2004 with the GLSL
path forced.
src/mesa/drivers/dri/i965/brw_wm.h
src/mesa/drivers/dri/i965/brw_wm_glsl.c