[PATCH] wined3d: Fully initialise "settings" in wined3d_ffp_get_vs_settings().

Matteo Bruni matteo.mystral at gmail.com
Mon Jan 9 12:58:17 CST 2017


2017-01-09 14:31 GMT+01:00 Henri Verbeet <hverbeet at codeweavers.com>:
> Commit b62f4139eda58e8e25cbc58864fcea2599a20e97 introduced implicit padding in
> the wined3d_ffp_vs_settings structure. This causes redundant shader variants
> to be generated. Although easy to avoid, there's also something to be said for
> being more robust against padding.
>
> Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>

Meh. Thank you, I also welcome the generic / foolproof fix.

Signed-off-by: Matteo Bruni <mbruni at codeweavers.com>



More information about the wine-patches mailing list