i965: Fix allow_higher_compat_version workaround limited by OpenGL 3.0
authorYevhenii Kolesnikov <yevhenii.kolesnikov@globallogic.com>
Mon, 25 Feb 2019 14:21:48 +0000 (16:21 +0200)
committerTimothy Arceri <tarceri@itsqueeze.com>
Wed, 27 Feb 2019 23:25:16 +0000 (10:25 +1100)
commit07f4b4e4034d6c9f48d136ec39a03e59f65783cb
tree8b0aa10f39bcaadc880572f9b2ba985ae882f1e5
parent6e184147ddce11e90c269a47af7d7395f5ed9c12
i965: Fix allow_higher_compat_version workaround limited by OpenGL 3.0

Added check for higher compat profile being allowed
before assigning certain extensions.

Fixes: 272fe9494232 (mesa: enable ARB_texture_buffer_* extensions in the Compatibility profile)
Signed-off-by: Danylo Piliaiev <danylo.piliaiev@globallogic.com>
Signed-off-by: Yevhenii Kolesnikov <yevhenii.kolesnikov@globallogic.com>
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=107052
src/mesa/drivers/dri/i965/intel_extensions.c