As such this would be a driver bug and should be fixed in Mesa. Have you raised a bug report there?
I submitted a report just now: https://bugs.freedesktop.org/show_bug.cgi? id=97516
I just don't know if it's maybe a problem with context creation, I'm not too familiar with that yet.
Fabian Maurer