[Webkit-unassigned] [Bug 218231] New: [WPE] REGRESSION(r268992) Redefinition of min() inside TextureMapperShaderProgram from GLES > 3.0

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 27 07:35:01 PDT 2020


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

            Bug ID: 218231
           Summary: [WPE] REGRESSION(r268992) Redefinition of min() inside
                    TextureMapperShaderProgram from GLES > 3.0
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WPE WebKit
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: magomez at igalia.com
                CC: bugs-noreply at webkitgtk.org

r268992 added a definition of the function min() inside the shader, as that function is not defined in GLES2. But when using GLES we don't check for the version, so the new function is defined for every version, causing an error when GLES is bigger than 3.0 and the function is already defined.

I'll go for the simpler path and remove the usage of the min function, so we don't need to add version checks when using GLES.

-- 
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/20201027/488a4c29/attachment.htm>


More information about the webkit-unassigned mailing list