WebGL Crash with Transform Feedback on MacOS
Categories
(Core :: Graphics: CanvasWebGL, defect, P3)
Tracking
()
People
(Reporter: mozilla2, Unassigned)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
(deleted),
application/zip
|
Details |
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36
Steps to reproduce:
(1) Run the attached WebGL sample on a 2014 Macbook Pro with NVIDIA GeForce GT 750M
Actual results:
It crashes WebGL with a context lost
Expected results:
It runs successfully drawing a circle of POINTS
There is also attached a version that works. The only difference between the 2 is whether or not each command is run in a different event (rAF) or on the same event.
This seems to be driver bug that has to do with compositing operations while transform feedback is left on. A workaround is to call gl.pauseTransformFeedback
after calling gl.drawArrays
but before yielding and then on return calling gl.resumeTransformFeedback
.
Note this issue comes up because if you run the no-crash version in the debugger it will crash while stepping through the code.
Same bug filed with Chromium here
https://bugs.chromium.org/p/chromium/issues/detail?id=1048198
Updated•5 years ago
|
Updated•5 years ago
|
Updated•2 years ago
|
Description
•