Signed-off-by: Nikolay Sivov nsivov@codeweavers.com --- dlls/d3d11/tests/d3d11.c | 9 +++++++++ 1 file changed, 9 insertions(+)
diff --git a/dlls/d3d11/tests/d3d11.c b/dlls/d3d11/tests/d3d11.c index 561a38ec5aa..140e7cc195c 100644 --- a/dlls/d3d11/tests/d3d11.c +++ b/dlls/d3d11/tests/d3d11.c @@ -20619,6 +20619,11 @@ static void test_format_support(const D3D_FEATURE_LEVEL feature_level) {DXGI_FORMAT_R16_UINT, D3D_FEATURE_LEVEL_9_1}, };
+ static const struct format_support vertex_buffers[] = + { + {DXGI_FORMAT_R8G8_UINT, D3D_FEATURE_LEVEL_10_0}, + }; + device_desc.feature_level = &feature_level; device_desc.flags = 0; if (!(device = create_device(&device_desc))) @@ -20684,6 +20689,10 @@ static void test_format_support(const D3D_FEATURE_LEVEL feature_level) index_buffers, ARRAY_SIZE(index_buffers), D3D11_FORMAT_SUPPORT_IA_INDEX_BUFFER, "index buffer");
+ check_format_support(format_support, feature_level, + vertex_buffers, ARRAY_SIZE(vertex_buffers), + D3D11_FORMAT_SUPPORT_IA_VERTEX_BUFFER, "vertex buffer"); + check_format_support(format_support, feature_level, display_format_support, ARRAY_SIZE(display_format_support), D3D11_FORMAT_SUPPORT_DISPLAY, "display");