tests: Do not run the d3d11 backend with shader model 5.1.

This commit is contained in:
Zebediah Figura 2024-04-15 16:51:32 -05:00 committed by Alexandre Julliard
parent 833c897aac
commit e3e93b76d2
Notes: Alexandre Julliard 2024-04-22 23:37:43 +02:00
Approved-by: Giovanni Mascellani (@giomasce)
Approved-by: Henri Verbeet (@hverbeet)
Approved-by: Alexandre Julliard (@julliard)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/793

View File

@ -273,7 +273,7 @@ static BOOL init_test_context(struct d3d11_shader_runner *runner)
runner->caps.runner = "d3d11.dll"; runner->caps.runner = "d3d11.dll";
runner->caps.minimum_shader_model = SHADER_MODEL_4_0; runner->caps.minimum_shader_model = SHADER_MODEL_4_0;
runner->caps.maximum_shader_model = SHADER_MODEL_5_1; runner->caps.maximum_shader_model = SHADER_MODEL_5_0;
hr = ID3D11Device_CheckFeatureSupport(runner->device, D3D11_FEATURE_DOUBLES, hr = ID3D11Device_CheckFeatureSupport(runner->device, D3D11_FEATURE_DOUBLES,
&doubles, sizeof(doubles)); &doubles, sizeof(doubles));