Hacker News new | past | comments | ask | show | jobs | submit login

> Also Valve do some steamdeck optimizations for every game via their shared shader cache

Isn’t the only purpose of this skipping shader (re)compiling?

As far as I understood it, they did it because compiling shaders both takes long on a handheld device and time is at a premium for handheld players. They don’t want to wait eight minutes for a shader compile.




There’s two places where shader precompilation helps:

1. Load times if you’re compiling them on stage load

2. Dynamically on asset load during gameplay.

The latter is one of the most major causes of stuttering in PC games, and Valves solution can greatly make a game feel smoother as a result.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: