Mac Pro 5.1 Windows 10 boot problems
This answer is based on your comment which is repeated below.


  It was running smoothly on UEFI boot, but after a graphic card driver update it doesn't boot anymore.


Another possible solution would be to disable Windows Update from downloading and installing driver updates. This can be done using the Local Group Policy Editor (This requires Widows 10 Pro are better.) or from the control panel.

The Control Panel steps for Windows 10 (version 1803) are given below.


From the Start menu select Window System, then select Control Panel.
Select View by: Small icons.
Select System.
Select Advanced system settings.
Select Hardware tab.
Select Device Installation Settings
Select No
Select Save Changes.


This will require you to reinstall Windows. I suggest not connecting to the internet until you have disabled driver updates and installed the Window Support Software from Apple.

You may also want to try to see if you can get Windows 10 to Safe Boot. Boot from the Windows 10 installation media (DVD or USB flash drive) and at the first menu enter the shift+F10 key combination. Enter the following command in the window.

bcdedit  /set  {default}  safeboot  minimal


Close all windows to restart the Mac. If you can get Windows to boot, then maybe you could rollback the graphic device driver.