Re: [Mesa-dev] [PATCH] r600g: improve flushed depth texture handling v2

2012-07-10 Thread Jerome Glisse
On Tue, Jul 10, 2012 at 5:16 PM, Marek Olšák wrote: > On Tue, Jul 10, 2012 at 10:00 PM, Jerome Glisse wrote: >> On Tue, Jul 10, 2012 at 2:10 PM, Marek Olšák wrote: >>> On Tue, Jul 10, 2012 at 6:40 AM, Vadim Girlin wrote: On Sat, 2012-07-07 at 01:48 +0200, Marek Olšák wrote: > On Wed, J

Re: [Mesa-dev] [PATCH] r600g: improve flushed depth texture handling v2

2012-07-10 Thread Vadim Girlin
On Tue, 2012-07-10 at 20:10 +0200, Marek Olšák wrote: > On Tue, Jul 10, 2012 at 6:40 AM, Vadim Girlin wrote: > > On Sat, 2012-07-07 at 01:48 +0200, Marek Olšák wrote: > >> On Wed, Jun 27, 2012 at 1:34 AM, Vadim Girlin > >> wrote: > >> > Use r600_resource_texture::flished_depth_texture for GPU ac

Re: [Mesa-dev] [PATCH] r600g: improve flushed depth texture handling v2

2012-07-10 Thread Marek Olšák
On Tue, Jul 10, 2012 at 10:00 PM, Jerome Glisse wrote: > On Tue, Jul 10, 2012 at 2:10 PM, Marek Olšák wrote: >> On Tue, Jul 10, 2012 at 6:40 AM, Vadim Girlin wrote: >>> On Sat, 2012-07-07 at 01:48 +0200, Marek Olšák wrote: On Wed, Jun 27, 2012 at 1:34 AM, Vadim Girlin wrote: > U

Re: [Mesa-dev] [PATCH] r600g: improve flushed depth texture handling v2

2012-07-10 Thread Jerome Glisse
On Tue, Jul 10, 2012 at 2:10 PM, Marek Olšák wrote: > On Tue, Jul 10, 2012 at 6:40 AM, Vadim Girlin wrote: >> On Sat, 2012-07-07 at 01:48 +0200, Marek Olšák wrote: >>> On Wed, Jun 27, 2012 at 1:34 AM, Vadim Girlin wrote: >>> > Use r600_resource_texture::flished_depth_texture for GPU access, and

Re: [Mesa-dev] [PATCH] r600g: improve flushed depth texture handling v2

2012-07-10 Thread Marek Olšák
On Tue, Jul 10, 2012 at 6:40 AM, Vadim Girlin wrote: > On Sat, 2012-07-07 at 01:48 +0200, Marek Olšák wrote: >> On Wed, Jun 27, 2012 at 1:34 AM, Vadim Girlin wrote: >> > Use r600_resource_texture::flished_depth_texture for GPU access, and >> > allocate it in the VRAM. For transfers we'll allocate

Re: [Mesa-dev] [PATCH] r600g: improve flushed depth texture handling v2

2012-07-09 Thread Vadim Girlin
On Sat, 2012-07-07 at 01:48 +0200, Marek Olšák wrote: > On Wed, Jun 27, 2012 at 1:34 AM, Vadim Girlin wrote: > > Use r600_resource_texture::flished_depth_texture for GPU access, and > > allocate it in the VRAM. For transfers we'll allocate untiled texture in the > > GTT and store it in the r600_tr

Re: [Mesa-dev] [PATCH] r600g: improve flushed depth texture handling v2

2012-07-06 Thread Marek Olšák
On Wed, Jun 27, 2012 at 1:34 AM, Vadim Girlin wrote: > Use r600_resource_texture::flished_depth_texture for GPU access, and > allocate it in the VRAM. For transfers we'll allocate untiled texture in the > GTT and store it in the r600_transfer::staging. > > Improves performance when flushed depth t

Re: [Mesa-dev] [PATCH] r600g: improve flushed depth texture handling v2

2012-06-28 Thread Vadim Girlin
On Tue, 2012-06-26 at 19:40 -0400, Alex Deucher wrote: > On Tue, Jun 26, 2012 at 7:34 PM, Vadim Girlin wrote: > > Use r600_resource_texture::flished_depth_texture for GPU access, and > > allocate it in the VRAM. For transfers we'll allocate untiled texture in the > > GTT and store it in the r600_t

Re: [Mesa-dev] [PATCH] r600g: improve flushed depth texture handling v2

2012-06-26 Thread Alex Deucher
On Tue, Jun 26, 2012 at 7:34 PM, Vadim Girlin wrote: > Use r600_resource_texture::flished_depth_texture for GPU access, and > allocate it in the VRAM. For transfers we'll allocate untiled texture in the > GTT and store it in the r600_transfer::staging. > > Improves performance when flushed depth t

[Mesa-dev] [PATCH] r600g: improve flushed depth texture handling v2

2012-06-26 Thread Vadim Girlin
Use r600_resource_texture::flished_depth_texture for GPU access, and allocate it in the VRAM. For transfers we'll allocate untiled texture in the GTT and store it in the r600_transfer::staging. Improves performance when flushed depth texture is frequently used by the GPU (about 30% for Lightsmark)