[PATCH 4/5] d3d11/tests: Add 10_1 to default feature levels list.

Józef Kucia jkucia at codeweavers.com
Thu Aug 31 02:04:37 CDT 2017


Avoids skipping some tests when the highest supported feature level is 10_1.

Signed-off-by: Józef Kucia <jkucia at codeweavers.com>
---
 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 60ae0e067b..e94366a939 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);
-- 
2.13.5




More information about the wine-patches mailing list