Re: [PATCH] wined3d: Add quirk for Nvidia viewport subpixel bits bug.
26 Feb
2017
26 Feb
'17
10:45 p.m.
On 26 February 2017 at 19:55, Józef Kucia <jkucia(a)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.
3209
Age (days ago)
3209
Last active (days ago)
0 comments
1 participants
participants (1)
-
Henri Verbeet