[PATCH 3/5] d3d9/tests: r500 GPUs only generate point sprite coords on texture coordinate 0.

Stefan Dösinger stefandoesinger at gmail.com
Mon Feb 20 12:44:26 CST 2017


Am 2017-02-20 um 15:59 schrieb Henri Verbeet:

> This test has been around for a while, did it always fail?
I think so. I remember seeing this a long time ago and when I worked on
this over the weekend I thought I sent a patch long ago.

> I also have the impression the hardware should be able to do this,
> does this fail on Linux, Windows, or both?
The failure happens on Windows. But I originally introduced this test
because Linux on the same hardware had worse problems in such situations
(668328a6). Unfortunately at the time I didn't have a Windows
installation on this computer, otherwise I would have caught the test
failure right away.

I guess all that's needed to support it is to redirect all reads that go
to a register loaded from TEXCOORD1 or higher to TEXCOORD0. We're
already doing that by reading gl_PointCoord regardless of the usage index.

I'll do some double-checking to be sure and run the original test code
on Windows. And since we're happily handling the problem in Wine I think
the skip should be a win_skip instead.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: OpenPGP digital signature
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20170220/59256d1d/attachment.sig>


More information about the wine-devel mailing list