Files
test/source/blender/gpu/GPU_compilation_subprocess.hh
Miguel Pozo a83348fbdc GPU: Improve the shader cache behavior
Move the shader cache to `BKE_appdir_folder_caches`, since the
temporary folder is reset on Linux on every system restart.
Manually delete shader cache files on Blender exit if they have not
been used for more than 30 days.

Pull Request: https://projects.blender.org/blender/blender/pulls/125010
2024-07-25 19:22:36 +02:00

16 lines
318 B
C++

/* SPDX-FileCopyrightText: 2024 Blender Authors
*
* SPDX-License-Identifier: GPL-2.0-or-later */
#pragma once
#include "BLI_subprocess.hh"
#if defined(WITH_OPENGL_BACKEND) && BLI_SUBPROCESS_SUPPORT
void GPU_compilation_subprocess_run(const char *subprocess_name);
void GPU_shader_cache_dir_clear_old();
#endif