Skip to content

[Request] Zipped Shader Cache #6013

Open
@Psycho-A

Description

@Psycho-A

With current behavior, we have thousands of smallest files of cache per one game, thus if we have lots of games, the shaders count is incredibly terrible. This really bloats HDD file system, make loadings slower, and also prevents normal shaders sharing between users without repacking the whole set.

I suggest to pack the whole shader cache into some quick archive format on emulator exits (and then delete) or once new requested game shaders are compiled (or we may set some time interval). On next loading of the emulator, the existing zipped shader cache will preloaded directly from zip to compile GLCache, while all further newly generated cache by a game will be stored on disk until emulator exit (or the time interval is out) and next zipping.

We already have merged SPU cache, so this would be good for GL cache too.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions