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

2017-02-15 Thread Emil Velikov
Hi all, On 11 February 2017 at 02:44, Pierre-Loup A. Griffais wrote: > Ideally LLVM could expose a version string/number that's granular enough, > and distros/users could be trusted to properly amend that version string if > they make functional changes to something

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

2017-02-14 Thread Matt Turner
On Tue, Feb 7, 2017 at 3:31 PM, Timothy Arceri wrote: > On Tue, 2017-02-07 at 23:58 +0100, Matt Turner wrote: >> On Tue, Feb 7, 2017 at 4:42 AM, Timothy Arceri > > wrote: >> > This series adds support for a GLSL IR level and TGSI (OpenGL/st) >> >

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

2017-02-13 Thread Michel Dänzer
On 14/02/17 04:50 AM, Matt Arsenault wrote: >> On Feb 6, 2017, at 19:42, Timothy Arceri > > wrote: >> >> This series does not include the patch that adds cache support >> to the radeonsi backend, the main reason for this is that llvm >>

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

2017-02-13 Thread Matt Arsenault
> On Feb 6, 2017, at 19:42, Timothy Arceri wrote: > > This series does not include the patch that adds cache support > to the radeonsi backend, the main reason for this is that llvm > currently doesn't allow the version to be queried at runtime > (as far as I'm aware)

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

2017-02-11 Thread Pierre-Loup A. Griffais
On 02/11/2017 08:47 AM, Andre Heider wrote: On 02/11/2017 03:44 AM, Pierre-Loup A. Griffais wrote: On 02/10/2017 04:01 AM, Nicolai Hähnle wrote: On 10.02.2017 12:46, Timothy Arceri wrote: On 10/02/17 21:35, Nicolai Hähnle wrote: The people who want to distribute precompiled binaries will

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

2017-02-11 Thread Andre Heider
On 02/11/2017 03:44 AM, Pierre-Loup A. Griffais wrote: On 02/10/2017 04:01 AM, Nicolai Hähnle wrote: On 10.02.2017 12:46, Timothy Arceri wrote: On 10/02/17 21:35, Nicolai Hähnle wrote: The people who want to distribute precompiled binaries will have to set up infrastructure where they do the

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

2017-02-11 Thread Kai Wasserbäch
Hey, Pierre-Loup A. Griffais wrote on 11.02.2017 03:44: > On 02/10/2017 04:01 AM, Nicolai Hähnle wrote: >> On 10.02.2017 12:46, Timothy Arceri wrote: >>> On 10/02/17 21:35, Nicolai Hähnle wrote: >>> [...] >>> It's not even clear to me how they intend to load those precompiled binaries

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

2017-02-10 Thread Pierre-Loup A. Griffais
On 02/10/2017 04:01 AM, Nicolai Hähnle wrote: On 10.02.2017 12:46, Timothy Arceri wrote: On 10/02/17 21:35, Nicolai Hähnle wrote: On 08.02.2017 23:31, Eric Anholt wrote: Bas Nieuwenhuizen writes: On Wed, Feb 8, 2017, at 11:25, Matt Turner wrote: On Wed, Feb

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

2017-02-10 Thread Nicolai Hähnle
On 07.02.2017 04:42, Timothy Arceri wrote: This series adds support for a GLSL IR level and TGSI (OpenGL/st) level caches. There are a few small bug fixes and a little bit of restructuring to the GLSL IR patches to make things work for Gallium drivers vs just i965 previously, but nothing too

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

2017-02-10 Thread Nicolai Hähnle
On 10.02.2017 12:46, Timothy Arceri wrote: On 10/02/17 21:35, Nicolai Hähnle wrote: On 08.02.2017 23:31, Eric Anholt wrote: Bas Nieuwenhuizen writes: On Wed, Feb 8, 2017, at 11:25, Matt Turner wrote: On Wed, Feb 8, 2017 at 12:31 AM, Timothy Arceri

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

2017-02-10 Thread Timothy Arceri
On 10/02/17 21:35, Nicolai Hähnle wrote: On 08.02.2017 23:31, Eric Anholt wrote: Bas Nieuwenhuizen writes: On Wed, Feb 8, 2017, at 11:25, Matt Turner wrote: On Wed, Feb 8, 2017 at 12:31 AM, Timothy Arceri wrote: On Tue, 2017-02-07 at

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

2017-02-10 Thread Nicolai Hähnle
On 08.02.2017 23:31, Eric Anholt wrote: Bas Nieuwenhuizen writes: On Wed, Feb 8, 2017, at 11:25, Matt Turner wrote: On Wed, Feb 8, 2017 at 12:31 AM, Timothy Arceri wrote: On Tue, 2017-02-07 at 23:58 +0100, Matt Turner wrote: On Tue, Feb 7,

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

2017-02-08 Thread Eric Anholt
Bas Nieuwenhuizen writes: > On Wed, Feb 8, 2017, at 11:25, Matt Turner wrote: >> On Wed, Feb 8, 2017 at 12:31 AM, Timothy Arceri >> wrote: >> > On Tue, 2017-02-07 at 23:58 +0100, Matt Turner wrote: >> >> On Tue, Feb 7, 2017 at 4:42 AM, Timothy

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

2017-02-08 Thread Matt Turner
On Wed, Feb 8, 2017 at 11:38 AM, Bas Nieuwenhuizen wrote: > On Wed, Feb 8, 2017, at 11:25, Matt Turner wrote: >> On Wed, Feb 8, 2017 at 12:31 AM, Timothy Arceri >> wrote: >> > On Tue, 2017-02-07 at 23:58 +0100, Matt Turner wrote: >> >> On Tue, Feb

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

2017-02-08 Thread Bas Nieuwenhuizen
On Wed, Feb 8, 2017, at 11:25, Matt Turner wrote: > On Wed, Feb 8, 2017 at 12:31 AM, Timothy Arceri > wrote: > > On Tue, 2017-02-07 at 23:58 +0100, Matt Turner wrote: > >> On Tue, Feb 7, 2017 at 4:42 AM, Timothy Arceri >> > wrote: > >> > This

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

2017-02-08 Thread Matt Turner
On Wed, Feb 8, 2017 at 12:31 AM, Timothy Arceri wrote: > On Tue, 2017-02-07 at 23:58 +0100, Matt Turner wrote: >> On Tue, Feb 7, 2017 at 4:42 AM, Timothy Arceri > > wrote: >> > This series adds support for a GLSL IR level and TGSI (OpenGL/st) >> >

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

2017-02-07 Thread Timothy Arceri
On Tue, 2017-02-07 at 23:58 +0100, Matt Turner wrote: > On Tue, Feb 7, 2017 at 4:42 AM, Timothy Arceri > wrote: > > This series adds support for a GLSL IR level and TGSI (OpenGL/st) > > level caches. > > > > There are a few small bug fixes and a little bit of

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

2017-02-07 Thread Matt Turner
On Tue, Feb 7, 2017 at 4:42 AM, Timothy Arceri wrote: > This series adds support for a GLSL IR level and TGSI (OpenGL/st) > level caches. > > There are a few small bug fixes and a little bit of restructuring > to the GLSL IR patches to make things work for Gallium drivers

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

2017-02-07 Thread Timothy Arceri
On Tue, 7 Feb 2017 16:54:31 +0100 Marek Olšák wrote: > On Tue, Feb 7, 2017 at 4:42 AM, Timothy Arceri > 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

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

2017-02-07 Thread Marek Olšák
On Tue, Feb 7, 2017 at 4:42 AM, Timothy Arceri 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

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

2017-02-06 Thread Timothy Arceri
On Tue, 7 Feb 2017 15:50:28 +0900 Michel Dänzer wrote: > On 07/02/17 12:42 PM, Timothy Arceri wrote: > > > > This series does not include the patch that adds cache support > > to the radeonsi backend, the main reason for this is that llvm > > currently doesn't allow the

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

2017-02-06 Thread Michel Dänzer
On 07/02/17 12:42 PM, Timothy Arceri wrote: > > This series does not include the patch that adds cache support > to the radeonsi backend, the main reason for this is that llvm > currently doesn't allow the version to be queried at runtime > (as far as I'm aware) although it seems like other are

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

2017-02-06 Thread Timothy Arceri
This series adds support for a GLSL IR level and TGSI (OpenGL/st) level caches. There are a few small bug fixes and a little bit of restructuring to the GLSL IR patches to make things work for Gallium drivers vs just i965 previously, but nothing too major. The biggest change is patch 35 which