[Webkit-unassigned] [Bug 229508] New: Link program fails if shader contains 0.0/0.0
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Aug 25 11:50:28 PDT 2021
https://bugs.webkit.org/show_bug.cgi?id=229508
Bug ID: 229508
Summary: Link program fails if shader contains 0.0/0.0
Product: WebKit
Version: Safari Technology Preview
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: WebGL
Assignee: webkit-unassigned at lists.webkit.org
Reporter: cxiaoji at gmail.com
CC: dino at apple.com, kbr at google.com, kkinnunen at apple.com
Version: Safari 15.0 (Webkit 16612.1.26.1.5)
Minimal sample to reproduce:
- Open https://codepen.io/Pessimistress/pen/dyRPjOd, link program fails with message "Internal error compiling shader with Metal backend.\nPlease submit this shader, or website as a bug to https://bugs.webkit.org"
- Change `0.0 / 0.0` to `1.0 / 0.0`, renders successfully
- Either fails in Firefox or Chrome
According to https://www.khronos.org/registry/OpenGL/specs/es/3.0/GLSL_ES_Specification_3.00.pdf, section 5.9:
"Dividing by zero does not cause an exception but does result in an unspecified value."
--
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/20210825/a0005409/attachment-0001.htm>
More information about the webkit-unassigned
mailing list