Always enabling GL2 support for i915 makes wine apps suffer from SW fallbacks
Submitted by Ruslan Kabatsayev
Assigned to Ian Romanick
After updating Mesa from stock Ubuntu 12.04 LTS version 9.0 to 9.2, running some games, e.g. GTA VC in Wine starting with 1.5.17 leads to software fallbacks on i915.
I've bisected this problem to find this commit:
i915: Always enable GL 2.0 support. There's no point in shipping a non-GL2 driver today.
:040000 040000 d039f68bbc5a5e610adbeb3d310350a844911fea efac289465401566fec6063b544c0a844e302559 M src
AFAIU, i915 doesn't fully support GLSL, so this seems to be not a good idea to advertise GL 2.0 support.
There's a point in shipping a < GL 2.0 driver for hardware that just doesn't support GL 2.0. But there is no point in requiring the application to magically know if the driver's GL 2.0 is really 2.0 or just something rigged with software fallback mines.