[Webkit-unassigned] [Bug 241417] New: Multisampled renderbuffer looses content when switched

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jun 8 07:38:26 PDT 2022


https://bugs.webkit.org/show_bug.cgi?id=241417

            Bug ID: 241417
           Summary: Multisampled renderbuffer looses content when switched
           Product: WebKit
           Version: Safari 15
          Hardware: iPhone / iPad
                OS: iOS 15
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebGL
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: bleho at vectary.com
                CC: dino at apple.com, kbr at google.com, kkinnunen at apple.com

I guess GPU uses internal memory for rendering output. This output is copied into main memory when switching to different render target. When using MS render buffer data are copied out only after first use.
Steps to reproduce:
1. create multisampled renderbuffer (color/depth doesn't matter)
2. render something into this render buffer
3. switch to different framebuffer
4. switch back to previous multisampled render buffer
5. render something else (overwrite data from step 2)
6. switch to different framebuffer
7. read data from multisampled renderbuffer and observe that it contains data from step 2 instead of data from step 5.

Also noticed that gl.clear doesn't work with MS render buffer.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220608/a8a86fc8/attachment.htm>


More information about the webkit-unassigned mailing list