[Mesa-dev] [RFC 19/20] mesa: take shader program cache in to use
Matt Turner
mattst88 at gmail.com
Wed Jun 4 17:10:58 PDT 2014
On Mon, Jun 2, 2014 at 5:06 AM, Tapani Pälli <tapani.palli at 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.palli at 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).
> *
More information about the mesa-dev
mailing list