Created attachment 112493 [details] Patch to fix the bug 6 FPS regression on Sandy Bridge for WebGL Aquarium (FPS 55->48). The attached patch seems to solve the issue.
The bug is fixed by the following Commit: commit f95733ddb7fff0af923fce3a07ebef78fa3139a4 Author: Kenneth Graunke <kenneth@whitecape.org> Date: Fri Jan 9 20:46:17 2015 -0800 i965: Respect the no_8 flag on Gen6, not just Gen7+. When doing repclears, we only want to use the SIMD16 program, not the SIMD8 one. Kristian added this to the Gen7+ code, but apparently we missed it in the Gen6 code. This patch copies that code over. Approximately doubles the performance in a clear microbenchmark from mesa-demos (clearspd -width 500 -height 500 +color) on Sandybridge. Cc: "10.4 10.3" <mesa-stable@lists.freedesktop.org> Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Kristian Høgsberg <krh@bitplanet.net> Reviewed-by: Matt Turner <mattst88@gmail.com> References: https://code.google.com/p/chrome-os-partner/issues/detail?id=34681 Closing it now.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.