From 1e6a089d6039039119c6f9d75700d0cc44b32dda Mon Sep 17 00:00:00 2001 From: kevgee Date: Thu, 18 Mar 2021 14:41:41 -0700 Subject: [PATCH] Update D3D12DynamicLOD.cpp Choose the most powerful device available to run Mesh Shader. --- .../Desktop/D3D12MeshShaders/src/DynamicLOD/D3D12DynamicLOD.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Samples/Desktop/D3D12MeshShaders/src/DynamicLOD/D3D12DynamicLOD.cpp b/Samples/Desktop/D3D12MeshShaders/src/DynamicLOD/D3D12DynamicLOD.cpp index c2902b525..d0e3a886f 100644 --- a/Samples/Desktop/D3D12MeshShaders/src/DynamicLOD/D3D12DynamicLOD.cpp +++ b/Samples/Desktop/D3D12MeshShaders/src/DynamicLOD/D3D12DynamicLOD.cpp @@ -128,7 +128,7 @@ void D3D12DynamicLOD::LoadPipeline() else { ComPtr hardwareAdapter; - GetHardwareAdapter(factory.Get(), &hardwareAdapter); + GetHardwareAdapter(factory.Get(), &hardwareAdapter, true); ThrowIfFailed(D3D12CreateDevice( hardwareAdapter.Get(),