[Mesa-dev] [PATCH] i965: Enable disk shader cache by default
Kenneth Graunke
kenneth at whitecape.org
Wed Feb 14 10:01:00 UTC 2018
On Saturday, February 3, 2018 1:58:58 PM PST Jordan Justen wrote:
> Signed-off-by: Jordan Justen <jordan.l.justen at intel.com>
> Reviewed-by: Timothy Arceri <tarceri at itsqueeze.com>
> ---
> 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 b8a0cd0d02c..0a5878ea41f 100644
> --- a/docs/relnotes/18.1.0.html
> +++ b/docs/relnotes/18.1.0.html
> @@ -46,6 +46,7 @@ Note: some of the new features are only available with certain drivers.
> <ul>
> <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 f989456bcde..41f742e858f 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);
>
Sounds like it's good to go...so...
Acked-by: Kenneth Graunke <kenneth at whitecape.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180214/b0ec8d53/attachment.sig>
More information about the mesa-dev
mailing list