Re: [Mesa-dev] [PATCH] st/mesa: fix pbo uploads

2016-02-18 Thread Nicolai Hähnle
On 18.02.2016 01:26, Ilia Mirkin wrote: On Thu, Feb 18, 2016 at 1:07 AM, Ilia Mirkin wrote: - LOD must be provided in .w for TXF (even for buffer textures) - User buffer must be valid at draw time Good catch. - Must have a sampler associated with the sampler

Re: [Mesa-dev] [PATCH] st/mesa: fix pbo uploads

2016-02-18 Thread Ilia Mirkin
On Thu, Feb 18, 2016 at 11:36 AM, Nicolai Hähnle wrote: > On 18.02.2016 01:26, Ilia Mirkin wrote: >> >> On Thu, Feb 18, 2016 at 1:07 AM, Ilia Mirkin wrote: >>> >>> - LOD must be provided in .w for TXF (even for buffer textures) >>> - User buffer

Re: [Mesa-dev] [PATCH] st/mesa: fix pbo uploads

2016-02-18 Thread Roland Scheidegger
Am 18.02.2016 um 16:34 schrieb Ilia Mirkin: > On Feb 18, 2016 6:16 AM, "Marek Olšák" > wrote: >> >> On Thu, Feb 18, 2016 at 7:07 AM, Ilia Mirkin > wrote: >> > - LOD must be provided in .w for TXF

Re: [Mesa-dev] [PATCH] st/mesa: fix pbo uploads

2016-02-18 Thread Ilia Mirkin
On Feb 18, 2016 6:16 AM, "Marek Olšák" wrote: > > On Thu, Feb 18, 2016 at 7:07 AM, Ilia Mirkin wrote: > > - LOD must be provided in .w for TXF (even for buffer textures) > > TXF on BUFFER should ignore the LOD. No such exception in the docs. Nouveau

Re: [Mesa-dev] [PATCH] st/mesa: fix pbo uploads

2016-02-18 Thread Marek Olšák
On Thu, Feb 18, 2016 at 7:07 AM, Ilia Mirkin wrote: > - LOD must be provided in .w for TXF (even for buffer textures) TXF on BUFFER should ignore the LOD. > - User buffer must be valid at draw time > - Must have a sampler associated with the sampler view TXF doesn't

Re: [Mesa-dev] [PATCH] st/mesa: fix pbo uploads

2016-02-17 Thread Ilia Mirkin
On Thu, Feb 18, 2016 at 1:07 AM, Ilia Mirkin wrote: > - LOD must be provided in .w for TXF (even for buffer textures) > - User buffer must be valid at draw time > - Must have a sampler associated with the sampler view > > This makes PBO uploads work again on nouveau. > >

[Mesa-dev] [PATCH] st/mesa: fix pbo uploads

2016-02-17 Thread Ilia Mirkin
- LOD must be provided in .w for TXF (even for buffer textures) - User buffer must be valid at draw time - Must have a sampler associated with the sampler view This makes PBO uploads work again on nouveau. Signed-off-by: Ilia Mirkin ---