[PATCH 6/7] wined3d: Avoid reading uninitialized texcoord varyings in FFP replacement fragment shaders.

Henri Verbeet hverbeet at gmail.com
Mon Oct 5 06:03:23 CDT 2015


On 5 October 2015 at 12:39, Matteo Bruni <matteo.mystral at gmail.com> wrote:
> 2015-10-05 11:49 GMT+02:00 Henri Verbeet <hverbeet at gmail.com>:
>> On 2 October 2015 at 14:54, Matteo Bruni <mbruni at codeweavers.com> wrote:
>>> -    unsigned char padding;
>>> +    unsigned char pointsprite : 1;
>>> +    unsigned char padding : 7;
>>> +    unsigned int inited_texcoords;
>>>  };
>> Did you perhaps mean something like "initialized_texcoords" or
>> "texcoords_initialized"?
>
> Yes. Which one do you prefer?

The latter, but only slightly.



More information about the wine-devel mailing list