Matteo Bruni : d3d11/tests: Simplify test_cb_relative_addressing() a bit.

Alexandre Julliard julliard at winehq.org
Tue Feb 12 16:36:37 CST 2019


Module: wine
Branch: master
Commit: ecacc39f09cbe94a3bab0086775817bac301fb5e
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=ecacc39f09cbe94a3bab0086775817bac301fb5e

Author: Matteo Bruni <mbruni at codeweavers.com>
Date:   Mon Feb 11 18:21:06 2019 +0100

d3d11/tests: Simplify test_cb_relative_addressing() a bit.

Signed-off-by: Matteo Bruni <mbruni at codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/d3d11/tests/d3d11.c | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/dlls/d3d11/tests/d3d11.c b/dlls/d3d11/tests/d3d11.c
index 3c870c2..27b0775 100644
--- a/dlls/d3d11/tests/d3d11.c
+++ b/dlls/d3d11/tests/d3d11.c
@@ -14816,10 +14816,6 @@ static void test_cb_relative_addressing(void)
     ID3D11Device *device;
     HRESULT hr;
 
-    static const D3D11_INPUT_ELEMENT_DESC layout_desc[] =
-    {
-        {"POSITION", 0, DXGI_FORMAT_R32G32_FLOAT, 0, 0, D3D11_INPUT_PER_VERTEX_DATA, 0},
-    };
     static const DWORD vs_code[] =
     {
 #if 0
@@ -14932,10 +14928,6 @@ float4 main(const ps_in v) : SV_TARGET
     device = test_context.device;
     context = test_context.immediate_context;
 
-    hr = ID3D11Device_CreateInputLayout(device, layout_desc, ARRAY_SIZE(layout_desc),
-            vs_code, sizeof(vs_code), &test_context.input_layout);
-    ok(SUCCEEDED(hr), "Failed to create input layout, hr %#x.\n", hr);
-
     colors_cb = create_buffer(device, D3D11_BIND_CONSTANT_BUFFER, sizeof(colors), &colors);
     index_cb = create_buffer(device, D3D11_BIND_CONSTANT_BUFFER, sizeof(index), NULL);
 




More information about the wine-cvs mailing list