xuxiandi / angleproject

Automatically exported from code.google.com/p/angleproject
Other
0 stars 0 forks source link

Long GLSL fragment shader causes hang #259

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
A ~2,300 line fragment shader causes the browser's tab to hang when it is 
compiled/linked.  Most of the code should be optimized out so I suspect the 
shader optimizer is in an infinite loop.  With native GL, it compiles and links 
quickly.

This is reproducible on several browsers including Canary 17.0.953.0 and Aurora 
9.0a2.

Please email me, pcozzi@agi.com, for the shader source.

Original issue reported on code.google.com by pjcozzi...@gmail.com on 28 Nov 2011 at 10:29

GoogleCodeExporter commented 9 years ago
This is likely the same problem as that reported in 
http://code.google.com/p/angleproject/issues/detail?id=146 . Please see the 
comments on that issue.

Original comment by kbr@chromium.org on 29 Nov 2011 at 12:33

GoogleCodeExporter commented 9 years ago
I will move the discussion to that issue, but this shader does not have any 
texture lookups.  However, it does use dFdX and dFdY in a loop, which I tried 
unrolling by hand a while back, which did not help.

Original comment by pjcozzi...@gmail.com on 29 Nov 2011 at 6:01

GoogleCodeExporter commented 9 years ago
This should be fixed in r1124. Patrick can you confirm?

Original comment by nicolas....@gmail.com on 1 Jun 2012 at 9:22

GoogleCodeExporter commented 9 years ago
Sure, where can I get a build to test?  Canary is only on revision 1046.

Original comment by pjcozzi...@gmail.com on 26 Jun 2012 at 2:44

GoogleCodeExporter commented 9 years ago
I'll e-mail the latest build for your convenience. You can also build from 
source: http://code.google.com/p/angleproject/wiki/DevSetup

Original comment by nicolas....@gmail.com on 26 Jun 2012 at 4:27

GoogleCodeExporter commented 9 years ago
Canary is now on ANGLE 1164 as well.

Original comment by dan...@transgaming.com on 27 Jun 2012 at 1:27

GoogleCodeExporter commented 9 years ago

Original comment by c...@chromium.org on 7 Dec 2013 at 4:07

GoogleCodeExporter commented 9 years ago
This was confirmed fixed, I believe.

Original comment by c...@chromium.org on 31 Jan 2014 at 8:10