Skip to content

Commit

Permalink
feat: add gpu cache locations
Browse files Browse the repository at this point in the history
  • Loading branch information
DaRacci committed Mar 1, 2024
1 parent 0f511da commit 814643b
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion crates/cleaner/src/cleaners/impls/shader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ use async_trait::async_trait;
#[derive(Default, Debug, Clone, Copy)]
pub struct ShaderCleaner;

// TODO - Browser Shader Cache
#[async_trait]
impl CleanerInternal for ShaderCleaner {
fn rules(&self) -> Rules {
Expand All @@ -43,7 +42,17 @@ impl CleanerInternal for ShaderCleaner {
Location::Sub(&USERS, "AppData/Local/NVIDIA/DXCache/*".into()),
Location::Sub(&USERS, "AppData/Local/D3DSCache/*".into()),
// Chromium GPU Cache
Location::Sub(&USERS, "AppData/Local/Google/Chrome/User Data/GrShaderCache/*".into()),
Location::Sub(
&USERS,
"AppData/Local/Google/Chrome/User Data/Default/GPUCache/*".into(),
),
Location::Sub(&USERS, "AppData/Roaming/Microsoft/Teams/GPUCache/*".into()),
// Firefox GPU Cache
Location::Sub(
&USERS,
"AppData/Roaming/Mozilla/Firefox/Profiles/*/shader-cache/*".into(),
),
]
}

Expand Down

0 comments on commit 814643b

Please sign in to comment.