Pixel Shader 4.0 is a hardware capability, not a software patch. However, you can usually fix the error by updating your software (drivers) or, in some cases, using specific emulation tools.
While Windows 10 includes the latest DirectX by default, some older games require the DirectX End-User Runtime Web Installer to bridge compatibility gaps. Understanding Pixel Shader 4.0 pixel shader 4.0 download windows 10
It’s important to clarify upfront: