Open Bug 1613282 Opened 5 years ago Updated 2 years ago

WebGL Crash with Transform Feedback on MacOS

Categories

(Core :: Graphics: CanvasWebGL, defect, P3)

72 Branch
defect

Tracking

()

UNCONFIRMED

People

(Reporter: mozilla2, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Attached file transform-feedback-issue.zip (deleted) —

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

Component: Untriaged → Canvas: WebGL
Product: Firefox → Core
Priority: -- → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: