Józef Kucia : d3d11: Move d3d11 device implementation to top of file.