I believe it's related to GL 3.1 compat being exposed. Oddly using MESA_GL_VERSION_OVERRIDE=3.1COMPAT fixes the issue.