Skip to content

Commit 63ae30b

Browse files
authored
Update D3D12MeshletCull.cpp
Choose the most powerful device available.
1 parent 6bd2eb8 commit 63ae30b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Samples/Desktop/D3D12MeshShaders/src/MeshletCull/D3D12MeshletCull.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ void D3D12MeshletCull::LoadPipeline()
205205
else
206206
{
207207
ComPtr<IDXGIAdapter1> hardwareAdapter;
208-
GetHardwareAdapter(factory.Get(), &hardwareAdapter);
208+
GetHardwareAdapter(factory.Get(), &hardwareAdapter, true);
209209

210210
ThrowIfFailed(D3D12CreateDevice(
211211
hardwareAdapter.Get(),

0 commit comments

Comments
 (0)