[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-devel
Subject:    Re: [PATCH] wined3d: Add quirk for Nvidia viewport subpixel bits bug.
From:       Henri Verbeet <hverbeet () gmail ! com>
Date:       2017-02-27 4:45:20
Message-ID: CAOsNvwwfRaG7x3VKTSkm9qh=yPy053OmdL63s_Fn=EKoSxWABQ () mail ! gmail ! com
[Download RAW message or body]

On 26 February 2017 at 19:55, Józef Kucia <jkucia@codeweavers.com> wrote:
> +static BOOL match_nvidia_viewport_subpixel_bits(const struct wined3d_gl_info \
> *gl_info, const char *gl_renderer, +        enum wined3d_gl_vendor gl_vendor, enum \
> wined3d_pci_vendor card_vendor, enum wined3d_pci_device device) +{
> +    return gl_vendor == GL_VENDOR_NVIDIA && \
> gl_info->supported[ARB_VIEWPORT_ARRAY]; +}
If reasonably possible, we'd like to avoid matching on gl_vendor and
the like. It's not the most reliable information we have, and would
prevent the feature from working in the future if the driver is ever
fixed. I'll grant the chances aren't great on the latter, but out of
principle, it should be possible to test if the feature itself is
working.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic