[Webkit-unassigned] [Bug 217381] New: REGRESSION: Fails array of uniform sampler2D

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 6 05:56:55 PDT 2020


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

            Bug ID: 217381
           Summary: REGRESSION: Fails array of uniform sampler2D
           Product: WebKit
           Version: Safari 14
          Hardware: Macintosh
                OS: macOS 10.15
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebGL
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: konstantin.plotnikov at here.com
                CC: dino at apple.com

Created attachment 410628

  --> https://bugs.webkit.org/attachment.cgi?id=410628&action=review

Code to reproduse see lines: 17 to 30

The issue seems to be the regression from Safari 13.

What goes wrong:
When there is a uniform sampler2d array in the shader safari 14 seems to use the wrong index within an array. The issue can't be reproduced in Safari 13

Steps to reporoduce:
In the attachment fragment shader uses a two element uniform sampler2d array. When the texture uses 0 slot and in the fragment shader 0 slot is being read, then it fails. Lines 23 to 25 the same but (sampler2d.length - 1) is read in the shader everything works as expected. If the texture is 1x1 pixels then everything works as expected (lines 28 to 30). FF and Chrome work in the similar way to Safari 13

-- 
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/20201006/1afeb6f5/attachment.htm>


More information about the webkit-unassigned mailing list