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@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Józef Kucia 2017-08-31 09:04:37 +02:00 committed by Alexandre Julliard
parent b4a40ac555
commit 68c3df90cc
1 changed files with 3 additions and 2 deletions

View File

@ -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);