[Webkit-unassigned] [Bug 73932] Using discard in a fragment shader results in a crash

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Apr 4 06:41:47 PDT 2012


michaelbraithwaite at turbulenz.com changed:

           What    |Removed                     |Added
                 CC|                            |michaelbraithwaite at turbulen
                   |                            |z.com

--- Comment #2 from michaelbraithwaite at turbulenz.com  2012-04-04 06:41:46 PST ---
We did bug it to Apple months back but still occurs.

It also occurs on Firefox 10+ (but not 9) and also native OpenGL. It crashes in various underlying gl* calls e.g. even glClear if there is an active program.

I think is something about the shader compilation/validation that's broken with 10.7 and that Radeon driver. The same shaders run on everything else (other Macs and a broad range of Winodws and Linux machines). 

I narrowed it down more and it was the use of 'gl_FragCoord.w' and 'discard' in a fragment program that caused the issue - knocking out either and it was ok.

Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the webkit-unassigned mailing list