swrast: Calculate image address/stride once for depth/stencil readpixels.
authorEric Anholt <eric@anholt.net>
Wed, 12 Oct 2011 19:03:47 +0000 (12:03 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 4 Nov 2011 06:29:52 +0000 (23:29 -0700)
commite452fbe8718b4b84b682a775c5dc0153166f6ccc
treee9a58d982539cc825a713711d769757ff18d6b63
parentb832ac974f2b5a0f07ff9b7bb9338e8d6942eb74
swrast: Calculate image address/stride once for depth/stencil readpixels.

The fast and slow paths were doing these separately before.

Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/swrast/s_readpix.c