[Webkit-unassigned] [Bug 224183] New: [METAL ANGLE] Stencil only formats being used as the depth attachment.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 5 07:04:14 PDT 2021


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

            Bug ID: 224183
           Summary: [METAL ANGLE] Stencil only formats being used as the
                    depth attachment.
           Product: WebKit
           Version: WebKit Local Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: ANGLE
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: johncunningham at apple.com
                CC: dino at apple.com, kkinnunen at apple.com

Fixes a couple of issues found when using Google Earth, specifically zooming in towards Earth. 

1. Stencil only states previously only worked if combined as depth stencil, stencil only formats such as GL_STENCIL_INDEX8 were being incorrectly set as the Metal depth attachment. 

2. WebGL contexts issuing many draws and updating a lot of uniforms would have the command encoder be invalidated before they were finished rendering. Previously the command encoder was restarted from an empty state, this change fixes that such that the command buffer and encoder is completely invalidated and the next draw call will set up where the previous command encoder finished. 

3. 'Angle_out' transformation was being applied to the result of Angle_swizzle_ref, which may cause issues due to the different address space. I'm not exactly sure what's intended here, but the change looks reasonable and fixes Google Earth. Let the tests run and make sure this doesn't regress something else.

-- 
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/20210405/ebd0e651/attachment.htm>


More information about the webkit-unassigned mailing list