Lime-3DS-Emulator icon indicating copy to clipboard operation
Lime-3DS-Emulator copied to clipboard

Shader Cache isn't persistent on Vulkan Android

Open ABoredBunny opened this issue 4 months ago • 0 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Affected Build(s)

Lime3DS 2118.2

Description of Issue

The shader cache in Vulkan isn't persistent, so when I play a level or something. And I close the game and replay the level it will recompile the shaders when they occur. #264 mentions it, but worded the title wrong.

Expected Behavior

It's supposed to save the compiled shader, so when something shows up again it doesn't cause shader compilation lag. OpenGL does it, the citra branch of PabloMK7 does it in Vulkan, and the PabloMK7 fork mandarine does it. I wasn't sure if it is a Bug or enhancement, so I filed it as a bug.

Reproduction Steps

Play a game of your choice that has levels, with the Vulkan render. Close the game. Reopen it, play the level again. It will compile shaders again.

Log File

N/A

System Configuration

CPU: Snapdragon 765G GPU/Driver: MESA Turnip/Qualcomm v777 RAM: 6 GB OS: Android 13

ABoredBunny avatar Sep 30 '24 22:09 ABoredBunny