Module: wine Branch: master Commit: 68c3df90cc50c130f666ff30a2433d17ac3c2d62 URL: http://source.winehq.org/git/wine.git/?a=commit;h=68c3df90cc50c130f666ff30a2... Author: Józef Kucia <jkucia(a)codeweavers.com> Date: Thu Aug 31 09:04:37 2017 +0200 d3d11/tests: Add 10_1 to default feature levels list. Avoids skipping some tests when the highest supported feature level is 10_1. Signed-off-by: Józef Kucia <jkucia(a)codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- dlls/d3d11/tests/d3d11.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dlls/d3d11/tests/d3d11.c b/dlls/d3d11/tests/d3d11.c index 60ae0e0..e94366a 100644 --- a/dlls/d3d11/tests/d3d11.c +++ b/dlls/d3d11/tests/d3d11.c @@ -997,6 +997,7 @@ static ID3D11Device *create_device(const struct device_desc *desc) static const D3D_FEATURE_LEVEL default_feature_level[] = { D3D_FEATURE_LEVEL_11_0, + D3D_FEATURE_LEVEL_10_1, D3D_FEATURE_LEVEL_10_0, }; const D3D_FEATURE_LEVEL *feature_level; @@ -6638,7 +6639,7 @@ static void test_texture(void) ID3D11Texture2D_Release(texture); ID3D11PixelShader_Release(ps); - if (is_warp_device(device) && feature_level < D3D_FEATURE_LEVEL_10_1) + if (is_warp_device(device) && feature_level < D3D_FEATURE_LEVEL_11_0) { win_skip("SRV tests are broken on WARP.\n"); ID3D11Buffer_Release(cb); @@ -14269,7 +14270,7 @@ static void test_face_culling(void) ID3D11RasterizerState_Release(state); } - broken_warp = is_warp_device(device) && ID3D11Device_GetFeatureLevel(device) < D3D_FEATURE_LEVEL_10_1; + broken_warp = is_warp_device(device) && ID3D11Device_GetFeatureLevel(device) < D3D_FEATURE_LEVEL_11_0; /* Test SV_IsFrontFace. */ ID3D11PixelShader_Release(test_context.ps);