[PATCH 2/5] wined3d: Limit the number of multisample levels reported by wined3d_check_device_multisample_type().

Henri Verbeet hverbeet at gmail.com
Tue Dec 15 16:15:11 CST 2015


On 15 December 2015 at 21:39, Matteo Bruni <matteo.mystral at gmail.com> wrote:
> It seems to roughly match native, where higher quality levels for
> WINED3D_MULTISAMPLE_NON_MASKABLE generally mean an increased number of
> samples per pixel (at least going by the output of DX9FSAAViewer, from
> bug 12652) and sample counts often go up by powers-of-two. That's not
> always the case of course but it seems like we can use the idea as a
> possible valid implementation of WINED3D_MULTISAMPLE_NON_MASKABLE.
>
> Anyway I just realized this patch is missing the related changes to
> surface_prepare_rb(), as-is the patch doesn't make sense... Something
> like the attached patch is what I intended.
>
It does make a lot more sense like that. It isn't necessarily obvious
to me that the quality levels aren't supposed to just be the sample
counts though. I guess I'll have a look at DX9FSAAViewer.



More information about the wine-devel mailing list