Update GPU encoder to use DirectCompute 5 (#108)

This commit is contained in:
Chuck Walbourn
2023-03-20 10:49:19 -07:00
committed by GitHub
parent 8c47482183
commit 574745f290
4 changed files with 60 additions and 35 deletions

View File

@@ -1117,7 +1117,8 @@ namespace
hr = pAdapter->GetDesc(&desc);
if (SUCCEEDED(hr))
{
wprintf(L"\n[Using DirectCompute on \"%ls\"]\n", desc.Description);
wprintf(L"\n[Using DirectCompute %ls on \"%ls\"]\n",
(fl >= D3D_FEATURE_LEVEL_11_0) ? L"5.0" : L"4.0", desc.Description);
}
}
}