Commit 68c3df90 authored by Józef Kucia's avatar Józef Kucia Committed by Alexandre Julliard

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: 's avatarJózef Kucia <jkucia@codeweavers.com> Signed-off-by: 's avatarHenri Verbeet <hverbeet@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent b4a40ac5
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment