As Direct X 11.2 is usually included by in Windows 8.1, you are advised to confirm the version you are having before attempting to upgrade. To check Direct X version, follow the steps below:
1. Click "Windows key" + "R" keys to open "Run" window.
2. In the Run window, type dxdiag and hit "Enter" key.
3. In the window that comes up, click "System" tab and check the Direct X version.
If the version you are having is lower than 11.2, you can upgrade the same by following the instructions mentioned on the link below:
https://support.microsoft.com/en-us/kb/179113
Hope this will help you.