[Bug 100393] Cemu wiiu emulator crashes after selecting game on radeonsi

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Mar 25 17:52:50 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=100393

--- Comment #4 from Ilia Mirkin <imirkin at alum.mit.edu> ---
(In reply to Giovanni ongaro from comment #3)
> sorry but in fact this error is displayed
> Mesa: User error: GL_INVALID_ENUM in glEnable(GL_PRIMITIVE_RESTART)
> 
> and then sound plays

The issue is "cemu was developed against a specific GL implementation, and
doesn't work with other perfectly conformant GL implementations".

In this case, you're getting a GL 3.0 compat context. It tries to enable
GL_PRIMITIVE_RESTART, which was not available in GL 3.0. With
NV_primitive_restart, which is most likely exposed, one needs to use
GL_PRIMITIVE_RESTART_NV, which conveniently is a different value.

As I mentioned, you can try the COMPAT tail to the version override so you get
a compat context, but lots of stuff won't work - there are good reasons why
mesa doesn't expose high-versioned compat contexts.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20170325/e45961bc/attachment.html>


More information about the dri-devel mailing list