How to do shaders compilation on game launch

They say setup a loading screen to compile PSOs but don’t have any tutorial to setup for “game startup” because we cannot show any ui before the game is started?