D3d12 failed to create resource for texture. Unable to create direct3d device.