Re: [Mesa-dev] [PATCH 1/2] radeonsi: add support for an on-disk shader cache

2017-02-28 Thread Marek Olšák
On Feb 28, 2017 5:03 AM, "Timothy Arceri" wrote: On 27/02/17 20:57, Michel Dänzer wrote: > On 25/02/17 01:56 PM, Timothy Arceri wrote: > >> On 24/02/17 21:02, Marek Olšák wrote: >> >>> On Fri, Feb 24, 2017 at 3:18 AM, Timothy Arceri >>> wrote: >>> On 24/02/17 08:49, Timothy Arceri wrote:

Re: [Mesa-dev] [PATCH 1/2] radeonsi: add support for an on-disk shader cache

2017-02-27 Thread Timothy Arceri
On 27/02/17 20:57, Michel Dänzer wrote: On 25/02/17 01:56 PM, Timothy Arceri wrote: On 24/02/17 21:02, Marek Olšák wrote: On Fri, Feb 24, 2017 at 3:18 AM, Timothy Arceri wrote: On 24/02/17 08:49, Timothy Arceri wrote: On 24/02/17 05:12, Marek Olšák wrote: On Thu, Feb 23, 2017 at 3:09 AM,

Re: [Mesa-dev] [PATCH 1/2] radeonsi: add support for an on-disk shader cache

2017-02-27 Thread Michel Dänzer
On 27/02/17 09:20 PM, Marek Olšák wrote: > On Mon, Feb 27, 2017 at 10:57 AM, Michel Dänzer wrote: >> On 25/02/17 01:56 PM, Timothy Arceri wrote: >>> On 24/02/17 21:02, Marek Olšák wrote: On Fri, Feb 24, 2017 at 3:18 AM, Timothy Arceri wrote: > On 24/02/17 08:49, Timothy Arceri wrote

Re: [Mesa-dev] [PATCH 1/2] radeonsi: add support for an on-disk shader cache

2017-02-27 Thread Timothy Arceri
On 27/02/17 23:20, Marek Olšák wrote: On Mon, Feb 27, 2017 at 10:57 AM, Michel Dänzer wrote: On 25/02/17 01:56 PM, Timothy Arceri wrote: On 24/02/17 21:02, Marek Olšák wrote: On Fri, Feb 24, 2017 at 3:18 AM, Timothy Arceri wrote: On 24/02/17 08:49, Timothy Arceri wrote: On 24/02/17 05:12

Re: [Mesa-dev] [PATCH 1/2] radeonsi: add support for an on-disk shader cache

2017-02-27 Thread Ernst Sjöstrand
Notice that git worries about collisions between the 7 char abbreviated sha1s in large repositories, and sometime have to use 10 or 12 chars, etc: https://github.com/blog/2288-git-2-11-has-been-released "This is exactly what happened in the Linux kernel repository; it now has over 5 million object

Re: [Mesa-dev] [PATCH 1/2] radeonsi: add support for an on-disk shader cache

2017-02-27 Thread Marek Olšák
On Mon, Feb 27, 2017 at 10:57 AM, Michel Dänzer wrote: > On 25/02/17 01:56 PM, Timothy Arceri wrote: >> On 24/02/17 21:02, Marek Olšák wrote: >>> On Fri, Feb 24, 2017 at 3:18 AM, Timothy Arceri >>> wrote: On 24/02/17 08:49, Timothy Arceri wrote: > On 24/02/17 05:12, Marek Olšák wrote: >>

Re: [Mesa-dev] [PATCH 1/2] radeonsi: add support for an on-disk shader cache

2017-02-27 Thread Michel Dänzer
On 25/02/17 01:56 PM, Timothy Arceri wrote: > On 24/02/17 21:02, Marek Olšák wrote: >> On Fri, Feb 24, 2017 at 3:18 AM, Timothy Arceri >> wrote: >>> On 24/02/17 08:49, Timothy Arceri wrote: On 24/02/17 05:12, Marek Olšák wrote: > On Thu, Feb 23, 2017 at 3:09 AM, Timothy Arceri > wrot

Re: [Mesa-dev] [PATCH 1/2] radeonsi: add support for an on-disk shader cache

2017-02-25 Thread Marek Olšák
On Sat, Feb 25, 2017 at 5:06 PM, Dieter Nützel wrote: > Am 25.02.2017 05:56, schrieb Timothy Arceri: >> >> On 24/02/17 21:02, Marek Olšák wrote: >>> >>> On Fri, Feb 24, 2017 at 3:18 AM, Timothy Arceri >>> wrote: On 24/02/17 08:49, Timothy Arceri wrote: > > > >

Re: [Mesa-dev] [PATCH 1/2] radeonsi: add support for an on-disk shader cache

2017-02-25 Thread Dieter Nützel
Am 25.02.2017 05:56, schrieb Timothy Arceri: On 24/02/17 21:02, Marek Olšák wrote: On Fri, Feb 24, 2017 at 3:18 AM, Timothy Arceri wrote: On 24/02/17 08:49, Timothy Arceri wrote: On 24/02/17 05:12, Marek Olšák wrote: On Thu, Feb 23, 2017 at 3:09 AM, Timothy Arceri wrote: From: kdj0c

Re: [Mesa-dev] [PATCH 1/2] radeonsi: add support for an on-disk shader cache

2017-02-24 Thread Timothy Arceri
On 24/02/17 21:02, Marek Olšák wrote: On Fri, Feb 24, 2017 at 3:18 AM, Timothy Arceri wrote: On 24/02/17 08:49, Timothy Arceri wrote: On 24/02/17 05:12, Marek Olšák wrote: On Thu, Feb 23, 2017 at 3:09 AM, Timothy Arceri wrote: From: kdj0c V2 (Timothy Arceri): - when loading from

Re: [Mesa-dev] [PATCH 1/2] radeonsi: add support for an on-disk shader cache

2017-02-24 Thread Marek Olšák
On Fri, Feb 24, 2017 at 3:18 AM, Timothy Arceri wrote: > > > On 24/02/17 08:49, Timothy Arceri wrote: >> >> >> >> On 24/02/17 05:12, Marek Olšák wrote: >>> >>> On Thu, Feb 23, 2017 at 3:09 AM, Timothy Arceri >>> wrote: From: kdj0c V2 (Timothy Arceri): - when loading from

Re: [Mesa-dev] [PATCH 1/2] radeonsi: add support for an on-disk shader cache

2017-02-23 Thread Timothy Arceri
On 24/02/17 08:49, Timothy Arceri wrote: On 24/02/17 05:12, Marek Olšák wrote: On Thu, Feb 23, 2017 at 3:09 AM, Timothy Arceri wrote: From: kdj0c V2 (Timothy Arceri): - when loading from disk cache also binary insert into memory cache. - check that the binary loaded from disk is the corr

Re: [Mesa-dev] [PATCH 1/2] radeonsi: add support for an on-disk shader cache

2017-02-23 Thread Timothy Arceri
On 24/02/17 05:12, Marek Olšák wrote: On Thu, Feb 23, 2017 at 3:09 AM, Timothy Arceri wrote: From: kdj0c V2 (Timothy Arceri): - when loading from disk cache also binary insert into memory cache. - check that the binary loaded from disk is the correct size. If not delete the cache item and

Re: [Mesa-dev] [PATCH 1/2] radeonsi: add support for an on-disk shader cache

2017-02-23 Thread Marek Olšák
On Thu, Feb 23, 2017 at 3:09 AM, Timothy Arceri wrote: > From: kdj0c > > V2 (Timothy Arceri): > - when loading from disk cache also binary insert into memory cache. > - check that the binary loaded from disk is the correct size. If not > delete the cache item and skip loading from cache. > ---

Re: [Mesa-dev] [PATCH 1/2] radeonsi: add support for an on-disk shader cache

2017-02-23 Thread Michel Dänzer
On 23/02/17 11:09 AM, Timothy Arceri wrote: > From: kdj0c > > V2 (Timothy Arceri): > - when loading from disk cache also binary insert into memory cache. > - check that the binary loaded from disk is the correct size. If not > delete the cache item and skip loading from cache. UE4 Elemental De

[Mesa-dev] [PATCH 1/2] radeonsi: add support for an on-disk shader cache

2017-02-22 Thread Timothy Arceri
From: kdj0c V2 (Timothy Arceri): - when loading from disk cache also binary insert into memory cache. - check that the binary loaded from disk is the correct size. If not delete the cache item and skip loading from cache. --- src/gallium/drivers/radeonsi/si_state_shaders.c | 69 +++