[Mesa-dev] [PATCH] [RFC] r600g: improve flushed depth texture allocation

Vadim Girlin vadimgirlin at gmail.com
Sun Jun 24 07:19:25 PDT 2012


On Sun, 2012-06-24 at 17:43 +0400, Vadim Girlin wrote:
> Allocate flushed depth texture in the VRAM if we aren't going to access it by
> CPU. If we need CPU access later, then it'll be reallocated in the GTT. 
> Currently it's not reallocated in the opposite direction (GTT->VRAM), though
> probably we might want to do it too. Anyway, it helps the apps that don't need
> to access flushed depth texture by CPU at all, e.g. Lightsmark.
> 
> Improves performance for Lightsmark.
> 
> Signed-off-by: Vadim Girlin <vadimgirlin at gmail.com>
> ---

You can also find this patch and some other patches that aren't
committed yet (shader caching, dual export) in the r600-perf branch in
my github mesa repo:

git://github.com/VadimGirlin/mesa.git

www: https://github.com/VadimGirlin/mesa/compare/r600-perf

Could anybody test them for regressions on non-evergreen cards
(R6xx/7xx/CAYMAN)?

Vadim



More information about the mesa-dev mailing list