[Mesa-dev] GLSL IR & TGSI on-disk shader cache

Timothy Arceri tarceri at itsqueeze.com
Tue Feb 7 21:36:52 UTC 2017


On Tue, 7 Feb 2017 16:54:31 +0100
Marek Olšák <maraeo at gmail.com> wrote:

> On Tue, Feb 7, 2017 at 4:42 AM, Timothy Arceri
> <tarceri at itsqueeze.com> wrote:
> > Without the radeonsi patch min fps still goes up around 4 fps in
> > the Shadow of Mordor benchmark (although the stalls are still
> > very noticeable).  
> 
> I don't fully understand this. Can you elaborate on that?
> 
> There are 4 tests that can be done:
> 1) no shader cache: run the benchmark with mesa/master once
> 2) radeonsi cache: run the benchmark with mesa/master for the second
> time in the same process
> 3) glsl-tgsi cache: run the benchmark with your branch once after the
> disk cache is ready
> 4) both caches: run the benchmark with your branch for the second time
> in the same process

Since this is a series testing on-disk cache all tests are done by
running the benchmark once then closing the game before the next run.

Running the game for the second time where tgsi shaders are loaded from
cache improves the min fps and improves the various stalls where
shaders are compiles during the benchmark but does not eliminate them.
Adding the radoensi cache makes the benchmark run smoothly.

> 
> Marek
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev



More information about the mesa-dev mailing list