r600/radeonsi: enable glsl/tgsi on-disk cache
authorTimothy Arceri <tarceri@itsqueeze.com>
Mon, 20 Feb 2017 22:57:09 +0000 (09:57 +1100)
committerTimothy Arceri <tarceri@itsqueeze.com>
Wed, 22 Feb 2017 22:20:22 +0000 (09:20 +1100)
commit2f3290ac28f1ef5c023331b8b814eda0a247ef1d
tree6a09c4eadc7fdd4fb1214ca41d28b6460fd100f1
parent27cecafefd4371b13c5df1ea502406ff55dee12e
r600/radeonsi: enable glsl/tgsi on-disk cache

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.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Edward O'Callaghan <funfunctor@folklore1984.net>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/radeon/r600_pipe_common.c
src/gallium/drivers/radeon/r600_pipe_common.h