tests: Specify the primitive type from the shader runner frontend.

Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Zebediah Figura
2022-03-21 20:42:20 -05:00
committed by Alexandre Julliard
parent 492cd135e3
commit c7623262cc
4 changed files with 8 additions and 6 deletions

View File

@@ -334,7 +334,7 @@ static void parse_test_directive(struct shader_runner *runner, const char *line)
if (!runner->vs_source)
runner->vs_source = strdup(vs_source);
runner->ops->draw(runner, 3);
runner->ops->draw(runner, D3D_PRIMITIVE_TOPOLOGY_TRIANGLELIST, 3);
}
else if (match_string(line, "probe all rgba", &line))
{