[PATCH v2 1/6] d3d11/tests: Added test for unbound input streams.

Henri Verbeet hverbeet at gmail.com
Fri Apr 16 09:01:34 CDT 2021


On Fri, 16 Apr 2021 at 10:45, Jan Sikorski <jsikorski at codeweavers.com> wrote:
> +    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);
> +
Some quick testing (i.e., getting rid of input layout creation here,
and creating the input layout in draw_quad_vs_() against
default_vs_code[]) seems to suggest this also works without a matching
input layout. Should we perhaps look at the shader input signature
instead?



More information about the wine-devel mailing list