util: fix addressing bug in pipe_put_tile_z() for PIPE_FORMAT_Z32_FLOAT
authorBrian Paul <brianp@vmware.com>
Thu, 3 Jan 2013 15:04:50 +0000 (08:04 -0700)
committerAndreas Boll <andreas.boll.dev@gmail.com>
Wed, 13 Feb 2013 17:46:39 +0000 (18:46 +0100)
commitaf41a1d49107f5020bfceda8ea930601bb6b92b9
tree30819ed8162db126a41cf6d05ef9678613b72ba9
parent3a39c3cb678e2b41b6d2edd4fe0ba8c6c381b614
util: fix addressing bug in pipe_put_tile_z() for PIPE_FORMAT_Z32_FLOAT

The Z32 pixel is 4 bytes so multiply x by 4, not 2.

Note: This is a candidate for the stable branches.
(cherry picked from commit 69c2528b8374156adc45c427faaa59cee88a6541)
src/gallium/auxiliary/util/u_tile.c