d3d10core/tests: Use a pixel shader that consumes SV_Position in test_pipeline_statis...
commit34bd0dd0704c613abef8a9aa3ba2a2507ed02843
authorZebediah Figura <zfigura@codeweavers.com>
Tue, 31 May 2022 21:17:46 +0000 (31 16:17 -0500)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 21 Sep 2022 19:26:01 +0000 (21 21:26 +0200)
treed8e00ef795e8668c7335de0cd4b76a3fcea1c3ee
parentb07e06e297dd8bca67fc1ee523fc235cecebbf1e
d3d10core/tests: Use a pixel shader that consumes SV_Position in test_pipeline_statistics_query().

Some drivers (AMD Radeon RX 6700 XT, with radeonsi from Mesa 22.2.0-rc3) emit
less than one invocation per pixel, presumably because they detect that the
shader control flow is uniform for all pixels. Having the control flow depend on
SV_Position avoids this test failure.

Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
dlls/d3d10core/tests/d3d10core.c