Open the Disk Cleanup tool. For your information, Disk Cleanup tool helps you delete various things, including temporary internet files, temporary files, thumbnails, clear Recycle Bin, DirectX Shared ...
If you’re experiencing difficulties with compiling shaders in Hogwarts Legacy, there are various possible causes, including outdated GPU drivers, corrupt game files, or a temporary a temporary glitch.