Re: [Mesa-dev] [PATCH V3] r600/radeonsi: enable glsl/tgsi on-disk cache

2017-02-20 Thread Timothy Arceri
On 21/02/17 10:35, Marek Olšák wrote: v2 looked better, because HAVE_LLVM can be > 0, but r600g doesn't need llvm_timestamp. (note that drivers/radeon is a static lib used by r600g and radeonsi) Sure but my thinking was that it wouldn't hurt much to append llvm anyway, but if disk_cache_get_

Re: [Mesa-dev] [PATCH V3] r600/radeonsi: enable glsl/tgsi on-disk cache

2017-02-20 Thread Marek Olšák
v2 looked better, because HAVE_LLVM can be > 0, but r600g doesn't need llvm_timestamp. (note that drivers/radeon is a static lib used by r600g and radeonsi) Marek On Tue, Feb 21, 2017 at 12:31 AM, Timothy Arceri wrote: > For gpu generations that use LLVM we create a timestamp string > containing

[Mesa-dev] [PATCH V3] r600/radeonsi: enable glsl/tgsi on-disk cache

2017-02-20 Thread Timothy Arceri
For gpu generations that use LLVM we create a timestamp string containing both the LLVM and Mesa build times, otherwise we just use the Mesa build time. V2: share code in r600_pipe_common as suggested by Marek. V3: send the correct revision of V2 --- src/gallium/drivers/radeon/r600_pipe_common.c