Re: [Mesa-dev] [PATCH] mesa: fix glTexSubImage bugs in compressed texture code

2011-10-06 Thread Brian Paul
On 10/06/2011 02:38 PM, Eric Anholt wrote: On Wed, 5 Oct 2011 20:57:24 -0600, Brian Paul wrote: From: Brian Paul This fixes failures found with the new piglit texsubimage test. Two things were broken: 1. The dxt code doesn't handle sources images where width != row stride. Check for that

Re: [Mesa-dev] [PATCH] mesa: fix glTexSubImage bugs in compressed texture code

2011-10-06 Thread Eric Anholt
On Wed, 5 Oct 2011 20:57:24 -0600, Brian Paul wrote: > From: Brian Paul > > This fixes failures found with the new piglit texsubimage test. > > Two things were broken: > 1. The dxt code doesn't handle sources images where width != row stride. >Check for that and take the _mesa_make_temp_ub

[Mesa-dev] [PATCH] mesa: fix glTexSubImage bugs in compressed texture code

2011-10-05 Thread Brian Paul
From: Brian Paul This fixes failures found with the new piglit texsubimage test. Two things were broken: 1. The dxt code doesn't handle sources images where width != row stride. Check for that and take the _mesa_make_temp_ubyte_image() path to get an image where width = rowstride. 2. If we