[Mesa-dev] [PATCH] mesa: fix indexing error in unpack_Z32_FLOAT_X24S8()

2011-11-23 Thread Brian Paul
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. --- src/mesa/main/format_unpack.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/mesa/main/format_unpack.c b/src/mesa/main/format_unpack.c

Re: [Mesa-dev] [PATCH] mesa: fix indexing error in unpack_Z32_FLOAT_X24S8()

2011-11-23 Thread Kenneth Graunke
On 11/23/2011 07:40 AM, Brian Paul wrote: 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. --- src/mesa/main/format_unpack.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git