Bug 94302

Summary: webgl conformance/glsl/bugs/temp-expressions-should-not-crash.html takes a very long time with Intel driver
Product: Mesa Reporter: Yang Gu <yang.gu>
Component: Drivers/DRI/i965Assignee: Ian Romanick <idr>
Status: RESOLVED DUPLICATE QA Contact: Intel 3D Bugs Mailing List <intel-3d-bugs>
Severity: normal    
Priority: medium CC: xinghua.cao, yang.gu
Version: git   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Yang Gu 2016-02-26 08:36:30 UTC
Test devices:
NV Desktop - Desktop with NVidia GeForce GTX750 Ti
GEN Desktop - BDW desktop with Intel GEN GFX. Mesa is git ToT (11.3.0)
Pixel 2013 - IVB Chromebook, Mesa version 11.0.2
Acer C720 - HSW Chromebook, Mesa version 11.0.2
Acer C910 - BDW Chromebook, Mesa version 11.0.2

This case crashed on all Chromebooks, and passed on NV Desktop and GEN Desktop. Though it can pass on GEN Desktop, it took quite a long time (7 minutes) to finish. While on NV Desktop, it just took no more than 1 second.

Steps to reproduce:
1. Launch Chrome browser on Linux with GEN graphics, and open https://www.khronos.org/registry/webgl/sdk/tests/conformance/glsl/bugs/temp-expressions-should-not-crash.html

2. The case will take a very long time to finish, and on my machine, it's about 7 minutes.
Comment 1 Kenneth Graunke 2016-02-27 00:22:12 UTC
This test does indeed take way too long.

Disabling the GLSL IR optimization passes opt_copy_propagation and opt_copy_propagation_elements brings it down to about 8 seconds on a release build.
Comment 2 Martina Kollarova 2016-04-11 14:01:07 UTC

*** This bug has been marked as a duplicate of bug 94477 ***

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.