DirectX · high

How to fixD3D_COMPILER_ERROR

Failed to compile HLSL shader

What this error means

Failed to compile HLSL shader is a high-severity graphics API (DirectX) issue. The driver failed to compile the shader program for the graphics card. It sometimes comes down to unreadable game files. The steps below are ordered to resolve this efficiently.

Before you begin

Save open work and back up important files. Note any recent driver or hardware changes. If Windows cannot start, use the startup guide first.

Work through these checks

0 of 2 complete
01Clean the Shader Cache with Disk Cleanup

Clean the Shader Cache with Disk Cleanup.

Use the instructions for your exact device and operating system. Check the manufacturer’s documentation before changing firmware, hardware, or system settings.

I need help
02Use DDU to install the new driver

Use DDU to install the new driver.

Use the instructions for your exact device and operating system. Check the manufacturer’s documentation before changing firmware, hardware, or system settings.

I need help

Possible causes

  • Corrupt shader cache
  • GPU driver error
  • Unreadable game files