Re: [Mesa-dev] [PATCH] texgetimage: fix regression with shadow 1d array

2015-10-29 Thread Dave Airlie
> > What exactly are the parameters to glGetTextureSubImage() that hits this? It's actually a call to glGetnTexImage #4 0x772ce215 in get_tex_depth (ctx=0x9d03d0, dimensions=2, xoffset=0, yoffset=0, zoffset=0, width=65, height=1, depth=40, format=6402, type=5125, pixels=0xe32a10, tex

Re: [Mesa-dev] [PATCH] texgetimage: fix regression with shadow 1d array

2015-10-28 Thread Brian Paul
On 10/27/2015 08:26 PM, Dave Airlie wrote: From: Dave Airlie since 1ad305b612f389fb04c6d51847427d5ec72fae03 Brian Paul Date: Tue Jul 21 18:35:38 2015 -0600 mesa: plumb offset/size parameters through GetTexSubImage code I found this testing virgl which exercises a bunch of these in it'

Re: [Mesa-dev] [PATCH] texgetimage: fix regression with shadow 1d array

2015-10-27 Thread Ilia Mirkin
On Tue, Oct 27, 2015 at 10:26 PM, Dave Airlie wrote: > From: Dave Airlie > > since 1ad305b612f389fb04c6d51847427d5ec72fae03 > Brian Paul > Date: Tue Jul 21 18:35:38 2015 -0600 > > mesa: plumb offset/size parameters through GetTexSubImage code > > I found this testing virgl which exercises

[Mesa-dev] [PATCH] texgetimage: fix regression with shadow 1d array

2015-10-27 Thread Dave Airlie
From: Dave Airlie since 1ad305b612f389fb04c6d51847427d5ec72fae03 Brian Paul Date: Tue Jul 21 18:35:38 2015 -0600 mesa: plumb offset/size parameters through GetTexSubImage code I found this testing virgl which exercises a bunch of these in it's fallbacks. Signed-off-by: Dave Airlie ---