mesa: fix indexing error in unpack_Z32_FLOAT_X24S8()
authorBrian Paul <brianp@vmware.com>
Wed, 23 Nov 2011 17:36:16 +0000 (10:36 -0700)
committerBrian Paul <brianp@vmware.com>
Mon, 28 Nov 2011 15:04:48 +0000 (08:04 -0700)
commit858d1f0b1cb9087f7eefcb3b8147e06457505ce0
tree81f2aad910af3f1a52f476529dada8fc2a2333de
parentee47e19738356c2c97a40c5306769b0f7445c32e
mesa: fix indexing error in unpack_Z32_FLOAT_X24S8()

The source array elements are 8-bytes (float + uint) so we need
to multiply the src index by 2 to get the right array stride.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/main/format_unpack.c