Originally reported on #dri-devel by user degasus. OpenGL spec < 4.5 has a line in the "Primitive Restart" section: If PRIMITIVE_RESTART_FIXED_INDEX is enabled, primitive restart is not performed for array elements transferred by any drawing command not taking a type parameter, including all of the *Draw* commands other than *DrawElements*. OpenGL spec 4.5 has a modification: Note that primitive restart is not performed for array elements transferred by any drawing command not taking a type parameter, including all of the *Draw* commands other than *DrawElements*. The current implementation doesn't take the new version into consideration, and an additional condition for GL > 4.5 should be created.
Closing as WONTFIX, see discussion in https://lists.freedesktop.org/archives/mesa-dev/2016-October/130834.html. In short, the ctx->Version field shows the highest supported context, not the version of the current one. The meaning of the spec change is apparently also not clear...
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.