Revert compute queue default for DML (#20604)

### Description
<!-- Describe your changes. -->



### Motivation and Context
<!-- - Why is this change required? What problem does it solve?
- If it fixes an open issue, please link to the issue here. -->
This commit is contained in:
maggie1059 2024-05-08 09:48:29 -07:00 committed by GitHub
parent 08b637350a
commit b6d9abf150
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -542,10 +542,7 @@ static D3D12_COMMAND_LIST_TYPE CalculateCommandListType(ID3D12Device* d3d12_devi
sizeof(feature_levels)
));
// Use compute queue whenever possible on supported hardware to avoid TDR and maintain UI QoS
// Core and generic devices only have compute queues, DX11 has "immediate" submission, DX12 has both
auto use_compute_command_list = (feature_levels.MaxSupportedFeatureLevel <= D3D_FEATURE_LEVEL_1_0_CORE) ||
(feature_levels.MaxSupportedFeatureLevel >= D3D_FEATURE_LEVEL_12_0);
auto use_compute_command_list = (feature_levels.MaxSupportedFeatureLevel <= D3D_FEATURE_LEVEL_1_0_CORE);
if (use_compute_command_list)
{