Football Manager 2014 gameplay rendering displays in black and white, missing colors (Mesa git master). This is a regression.
I've bisected the regression in the following commit:
--- 8< ---
Author: Matt Turner <firstname.lastname@example.org>
Date: Tue Apr 15 22:46:55 2014 -0700
i965/fs: Reduce restrictions on interference in register coalescing.
We previously only allowed coalescing registers that interfere (i.e.,
whose live ranges overlap) if the destination register's live range was
entirely inside the source's live range. This is unnecessary -- we only
need to check for interfering writes in the intersection of their live
total instructions in shared programs: 1639470 -> 1638453 (-0.06%)
instructions in affected programs: 84751 -> 83734 (-1.20%)
Reviewed-by: Kenneth Graunke <email@example.com>
Note: this issue happens only with game's "high" & "very high" 3D graphics quality levels, not at medium level.
Created attachment 99029 [details]
FM screenshot, "high" 3D quality, demonstrating the bug
Created attachment 99030 [details]
FM screenshot, "medium" 3D quality, no bug
Reverted with a39428cf5c973513c5189dec4af34ce1e1582d51 on master. Tagged to be picked back to 10.2.
Tested latest Mesa, don't see the problem anymore -> verified.
Just for the record, this bug was also causing rendering issues in GpuTest's pixmark_piano test.
Also caused FPS to rise from 4-6 to 27-30. I hear Football Manager didn't have any change in performance.