On Mon, Jun 2, 2014 at 5:06 AM, Tapani Pälli <tapani.pa...@intel.com> wrote: > Patch initializes program cache on context creation, caches linked > programs and skips linking if program is found from the cache. > > Signed-off-by: Tapani Pälli <tapani.pa...@intel.com> > --- > src/mesa/main/context.c | 4 ++++ > src/mesa/program/ir_to_mesa.cpp | 7 +++++++ > 2 files changed, 11 insertions(+) > > diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c > index 8eb426d..6119572 100644 > --- a/src/mesa/main/context.c > +++ b/src/mesa/main/context.c > @@ -131,6 +131,7 @@ > #include "vtxfmt.h" > #include "program/program.h" > #include "program/prog_print.h" > +#include "program/prog_diskcache.h" > #include "math/m_matrix.h" > #include "main/dispatch.h" /* for _gloffset_COUNT */ > > @@ -993,6 +994,7 @@ _mesa_initialize_dispatch_tables(struct gl_context *ctx) > _mesa_initialize_save_table(ctx); > } > > +
Stray whitespace. > /** > * Initialize a struct gl_context struct (rendering context). > * _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev