Sometimes the stored shader files get corrupted, causing the game to crash when it tries to load them.
If the game crashes instantly before you can change the API, you need to force the game to reset its graphics config files.
As the hours passed, Alex's frustration grew. He had been on the cusp of a major gaming session, and now it seemed like it was doomed to fail. His friends, who had been waiting online for him, began to lose patience, and one by one, they dropped off.
Verify/repair app files:
To achieve the "best" performance and stability while avoiding this crash, players should focus on optimizing their driver environment and in-game settings. Best Solutions to Fix errgfxd3dshader1
Sometimes the "d3dcsx" or shader files in your game folder become corrupted. Navigate to your game's installation folder. Search for files named d3dcsx_46.dll d3dcompiler_46.dll Try moving them to a backup folder or deleting them, then Verify Integrity of Game Files