[Webkit-unassigned] [Bug 135905] New: ios8 webgl shader compiler thinks that pow(negative_float, 2.0) is zero

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Aug 13 14:34:57 PDT 2014


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

           Summary: ios8 webgl shader compiler thinks that
                    pow(negative_float, 2.0) is zero
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: iOS
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebGL
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: makc.the.great at gmail.com


well maybe not compiler.

Steps to Reproduce:
create any shader with x * x and pow (x, 2.0) side by side, you will see a difference.

Expected Results:
x * x is always equal to pow (x, 2.0)

Actual Results:
pow (x, 2.0) is zero when x < 0

Version:
ios 8.0 12A4345d

Configuration:
iPad 3

See this commit
https://github.com/makc/makc.github.io/commit/4221dc9788d2f509caf6427571656681fb3ad442

And the demo that is fixed by it:
http://makc.github.io/three.js/map2globe/demo.html

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list