[PATCH 4/7] wined3d: Initialize unwritten texcoord varyings in the VS.
matteo.mystral at gmail.com
Mon Oct 5 06:33:19 CDT 2015
2015-10-05 13:01 GMT+02:00 Henri Verbeet <hverbeet at gmail.com>:
> 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.
Yes, same with partially written coordinates. I've kept the quirk
around for the time being because it's still used in the ARB backend,
although I guess I could update that.
More information about the wine-devel