[Webkit-unassigned] [Bug 100789] New: glsl-function-atan.html WebGL conformance test fails after https://bugs.webkit.org/show_bug.cgi?id=99154

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 30 14:38:42 PDT 2012


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

           Summary: glsl-function-atan.html WebGL conformance test fails
                    after https://bugs.webkit.org/show_bug.cgi?id=99154
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebGL
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: roger_fong at apple.com
                CC: hausmann at webkit.org, barraclough at apple.com,
                    fpizlo at apple.com


Hello, I'm not savvy enough with Javascript, Compilers or MacroAssemblers to know what's causing this but a WebGL conformance test started failing after this patch (https://bugs.webkit.org/show_bug.cgi?id=99154 / r131858) landed. 

The test is here https://www.khronos.org/registry/webgl/conformance-suites/1.0.1/conformance/glsl/functions/glsl-function-atan.html.
In particular the part of the test that is failing is this.

  tests: [
    {
      source: ["$(output) = vec4(",
               "    $(func)($(input).x * 8.0 - 4.0) / k2PI + 0.5,",
               "    0.5,",
               "    0,",
               "    1);"].join("\n"),
      generator: function(x, y, z, w) {
        return [ atan(x * 8.0 - 4.0) / k2PI + 0.5,
                 0.5,
                 0,
                 1 ];
      },
    },


The "generator" is the reference for the test and it seems to be having trouble with the second (green) element of the array, which is set to .5. 

I noticed however, that if I set it to anything besides .5 (like .50001)  the test passes.

Could someone take a look at it? 
Thanks

-- 
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