mesa/src
Timothy Arceri 34ca0fce22 glsl: add initial implementation of shader cache
This uses disk_cache.c to write out a serialization of various
state that's required in order to successfully load and use a
binary written out by a drivers backend, this state is referred to as
"metadata" throughout the implementation.

This initial version is intended to work with all stages beside
compute.

This patch is based on the initial work done by Carl.

V2: extend the file's doxygen comment to cover some of the
design decisions.

V3:
- skip cache for fixed function shaders
- add int64 support
- fix glsl IR program parameter caching/restore and cache the
  parameter values which are used by gallium backends.
- use new link status enum

V4:
- add compute program support

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
2017-02-17 11:18:42 +11:00
..
amd radv/ac: use shared umsb helper. 2017-02-16 22:57:16 +00:00
compiler glsl: add initial implementation of shader cache 2017-02-17 11:18:42 +11:00
egl egl: _eglFilterArray's filter is always non-null 2017-02-16 15:27:20 +00:00
gallium radeonsi: use shared emit_umsb helper. 2017-02-16 22:57:16 +00:00
gbm gbm/dri: fix memory leaks in error path 2017-01-27 17:56:58 +00:00
getopt Introduce .editorconfig 2016-08-31 17:06:54 -07:00
glx glx/glvnd: Fix GLXdispatchIndex sorting 2017-02-15 09:55:57 +01:00
gtest gtest: Update to 1.8.0. 2017-01-20 11:40:52 -08:00
hgl glapi/hgl: remove the final user of _glapi_check_table() 2016-10-06 15:03:46 +01:00
intel anv: Use build-id for pipeline cache UUID. 2017-02-15 13:59:51 -08:00
loader loader: unconditionally include unistd.h and stdlib.h 2017-02-10 11:47:12 +00:00
mapi mapi: automake: include builddir prior to srcdir 2017-01-27 17:56:56 +00:00
mesa r100: use correct libdrm_radeon macro 2017-02-16 15:17:52 +00:00
util util/disk_cache: do not allow space in MESA_GLSL_CACHE_MAX_SIZE 2017-02-16 15:22:17 +00:00
vulkan vulkan/wsi: Lower the maximum image sizes 2017-01-25 09:05:30 -08:00
Makefile.am vulkan: automake: do not use EXTRA_DIST in a conditional 2017-01-18 13:41:32 +00:00
SConscript scons: put the generated git_sha1.h file in top-level src/ directory 2016-06-17 10:33:00 -06:00