On Mon, Jun 2, 2014 at 5:05 AM, Tapani Pälli <tapani.pa...@intel.com> wrote: > Patch adds functions to cache linked shader programs to disk. Cache > key is generated from shader sources of the program. Cache path is > generated on initialization if does not exist yet. > > Signed-off-by: Tapani Pälli <tapani.pa...@intel.com> > --- > src/mesa/Makefile.sources | 1 + > src/mesa/program/prog_diskcache.c | 223 > ++++++++++++++++++++++++++++++++++++++ > src/mesa/program/prog_diskcache.h | 40 +++++++ > 3 files changed, 264 insertions(+) > create mode 100644 src/mesa/program/prog_diskcache.c > create mode 100644 src/mesa/program/prog_diskcache.h > > diff --git a/src/mesa/Makefile.sources b/src/mesa/Makefile.sources > index f4904fb..7c2543c 100644 > --- a/src/mesa/Makefile.sources > +++ b/src/mesa/Makefile.sources > @@ -264,6 +264,7 @@ PROGRAM_FILES = \ > $(SRCDIR)program/ir_to_mesa.cpp \ > $(SRCDIR)program/program.c \ > $(SRCDIR)program/program_parse_extra.c \ > + $(SRCDIR)program/prog_diskcache.c \
Alphabetize. > $(SRCDIR)program/prog_cache.c \ > $(SRCDIR)program/prog_execute.c \ > $(SRCDIR)program/prog_instruction.c \ _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev