[PATCH 4/7] wined3d: Initialize unwritten texcoord varyings in the VS.

Henri Verbeet hverbeet at gmail.com
Mon Oct 5 06:01:47 CDT 2015


On 5 October 2015 at 12:39, Matteo Bruni <matteo.mystral at gmail.com> wrote:
> My test (which is still a few patches ahead in the series but I can
> send you somewhere) shows that on Nvidia the texture coordinate
> defaults to (0, 0, 0, 0), while on AMD it defaults to (0, 0, 0, 1), so
> the value of the .w component probably doesn't matter much. Assuming
> the test is correct, of course...

Does that include partially written coordinates? I'm fairly sure there
were applications that cared about this. It may have been Half-Life 2
(which is probably totally different today) or some other Source
Engine game. Maybe Stefan remembers. I suppose we could also just try
if anything breaks if we change it, although in that case we could get
rid of WINED3D_QUIRK_SET_TEXCOORD_W as well.



More information about the wine-devel mailing list