libobs-d3d11: Implement shader cache

Co-Authored-By: derrod <dennis@obsproject.com>
This commit is contained in:
Richard Stanway
2023-07-22 16:59:31 -07:00
committed by Lain
co-authored by derrod
parent 2f9df1372d
commit e7a3ffdb54
4 changed files with 66 additions and 10 deletions
+6
View File
@@ -567,6 +567,12 @@ static bool MakeUserDirs()
return false;
if (!do_mkdir(path))
return false;
if (GetProgramDataPath(path, sizeof(path), "obs-studio/shader-cache") <=
0)
return false;
if (!do_mkdir(path))
return false;
#endif
#ifdef WHATSNEW_ENABLED