Module: Mesa Branch: master Commit: 96fe36f7acc62130c40a8881c02ad6b8155b5533 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=96fe36f7acc62130c40a8881c02ad6b8155b5533
Author: Jordan Justen <jordan.l.jus...@intel.com> Date: Wed Nov 8 15:42:14 2017 -0800 i965: Enable disk shader cache by default Signed-off-by: Jordan Justen <jordan.l.jus...@intel.com> Reviewed-by: Timothy Arceri <tarc...@itsqueeze.com> Reviewed-by: Tapani Pälli <tapani.pa...@intel.com> Acked-by: Kenneth Graunke <kenn...@whitecape.org> --- docs/relnotes/18.1.0.html | 1 + src/mesa/drivers/dri/i965/brw_disk_cache.c | 3 --- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/docs/relnotes/18.1.0.html b/docs/relnotes/18.1.0.html index 93cf1f2b4f..0aca0aa1ab 100644 --- a/docs/relnotes/18.1.0.html +++ b/docs/relnotes/18.1.0.html @@ -47,6 +47,7 @@ Note: some of the new features are only available with certain drivers. <li>GL_ARB_bindless_texture on nvc0/maxwell+</li> <li>GL_EXT_semaphore on radeonsi</li> <li>GL_EXT_semaphore_fd on radeonsi</li> +<li>Disk shader cache support for i965 enabled by default</li> </ul> <h2>Bug fixes</h2> diff --git a/src/mesa/drivers/dri/i965/brw_disk_cache.c b/src/mesa/drivers/dri/i965/brw_disk_cache.c index f989456bcd..41f742e858 100644 --- a/src/mesa/drivers/dri/i965/brw_disk_cache.c +++ b/src/mesa/drivers/dri/i965/brw_disk_cache.c @@ -407,9 +407,6 @@ void brw_disk_cache_init(struct intel_screen *screen) { #ifdef ENABLE_SHADER_CACHE - if (env_var_as_boolean("MESA_GLSL_CACHE_DISABLE", true)) - return; - char renderer[10]; MAYBE_UNUSED int len = snprintf(renderer, sizeof(renderer), "i965_%04x", screen->deviceID); _______________________________________________ mesa-commit mailing list mesa-commit@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-commit