i965: Rename nr_depth_regs to nr_payload_regs.
authorEric Anholt <eric@anholt.net>
Tue, 17 Aug 2010 01:35:04 +0000 (18:35 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 20 Aug 2010 23:17:40 +0000 (16:17 -0700)
commit501c9dc62774a73c080d500a1eab773b0da9577e
tree9298c8fa41dbf56415118e22c903a924eeede7d9
parente6ec500e19f455237828f4f3955f888ad0b56382
i965: Rename nr_depth_regs to nr_payload_regs.

Only 8 out of the up to 13 regs are for source/dest depth, so the name
wasn't particularly appropriate.  Note that this doesn't count the
constant or URB payload regs.  Also, don't pre-divide by 2, so it's
actually a number of registers.
src/mesa/drivers/dri/i965/brw_wm.h
src/mesa/drivers/dri/i965/brw_wm_glsl.c
src/mesa/drivers/dri/i965/brw_wm_iz.c
src/mesa/drivers/dri/i965/brw_wm_pass0.c
src/mesa/drivers/dri/i965/brw_wm_pass2.c