i965: Fix source depth reg setting for FSes reading and writing to depth.
authorEric Anholt <eric@anholt.net>
Thu, 6 Aug 2009 03:12:15 +0000 (20:12 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 6 Aug 2009 03:20:02 +0000 (20:20 -0700)
commitf44916414ecd2b888c8a680d56b7467ccdff6886
tree28a8ec25cf29eb06b7b259878c5aac5cbdc587dd
parentb6c65516865aa331b066a6516d553c9fca314670
i965: Fix source depth reg setting for FSes reading and writing to depth.

For some IZ setups, we'd forget to account for the source depth register
being present, so we'd both read the wrong reg, and write output depth to
the wrong reg.

Bug #22603.
src/mesa/drivers/dri/i965/brw_wm.c
src/mesa/drivers/dri/i965/brw_wm.h
src/mesa/drivers/dri/i965/brw_wm_iz.c