Skip to content

i965: Use allow_higher_compat_version option during screen initialization

Currently, allow_higher_compat_version is only used during context creation. Doing that means an application that doesn't request a specific version can be given a version higher than 3.0.

However, an application still cannot request a higher version via glXCreateContextAttribsARB. The GLX and DRI layers will only see that version 3.0 is supported, so context creation will fail before the driver is called. For this to work, max_gl_compat_version must be set to a higher version.

This enables running many piglit tests on i965 with allow_higher_compat_version.

Edited by Ian Romanick

Merge request reports