Created attachment 126030 [details]
Screenshot of GiMark
Lighting is broken in GiMark on SKL and BDW after the following commit:
Author: Kenneth Graunke <firstname.lastname@example.org>
Date: Tue Jul 26 13:19:46 2016 -0700
i965: Fix move_interpolation_to_top() pass.
The darker areas on the smaller rings are moving all over the surfaces. I attached a picture that shows the problem.
I saw this first on HSW but noticed it later on the two other platforms.
The commit above broke lighting on SKL and BDW, while it fixed lighting on HSW.
The commit where lighting got broken earlier on HSW is:
Author: Matt Turner <email@example.com>
Date: Mon Feb 1 11:14:01 2016 -0800
i965/fs: Allocate single register at a time for constants.
I can't run GpuTest properly:
GpuTest_Linux_x64_0.7.0 all tests with OpenGL version <= 3.0 (in test description) run well, all above (e.g. 3.5, 4.0 ... and the needed on GiMark OpenGL 3.3) exiting immediately without any error returned.
- Intel(R) Core(TM) i5-6440HQ CPU @ 2.60GHz
- Intel(R) HD Graphics 530 (Skylake GT2) (0x191b)
- Ubuntu 16.04 LTS (lots of kernels and mesa version combinations).
Also tried on Haswell (don't remember the details) with the same result.
Pekka, could you please suggest if there any additional actions needed to run this test?
I was able to launch this using MESA_GL_VERSION_OVERRIDE=4.4, AFAICT lighting looks fine. I'm resolving this as WORKSFORME.