[PATCH 4/5] wined3d: Move the decoded stream info into the context

Henri Verbeet hverbeet at gmail.com
Mon Sep 9 06:55:14 CDT 2013


On 9 September 2013 13:49, Stefan Dösinger <stefan at codeweavers.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Am 2013-09-09 13:42, schrieb Henri Verbeet:
>> I think that's an unfortunate place to insert the field, and you
>> should update the padding.
>>
>>>> @@ -1880,9 +1889,7 @@ struct wined3d_device WORD
>>>> d3d_initialized : 1; WORD inScene : 1;                   /* A
>>>> flag to check for proper BeginScene / EndScene call pairs */
>>>> WORD softwareVertexProcessing : 1;  /* process vertex shaders
>>>> using software or hardware */ -    WORD useDrawStridedSlow : 1;
>>>> WORD filter_messages : 1; -    WORD padding : 8;
>> Padding?
> Do we need it?
Not strictly, but I think it helps with keeping track of how much bits
are left and avoiding silly things like holes in the structure.



More information about the wine-devel mailing list