WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
100789
glsl-function-atan.html WebGL conformance test fails after
https://bugs.webkit.org/show_bug.cgi?id=99154
https://bugs.webkit.org/show_bug.cgi?id=100789
Summary
glsl-function-atan.html WebGL conformance test fails after https://bugs.webki...
Roger Fong
Reported
2012-10-30 14:40:00 PDT
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
Attachments
patch
(1.45 KB, patch)
2012-10-30 20:41 PDT
,
Yuqiang Xian
fpizlo
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Yuqiang Xian
Comment 1
2012-10-30 17:51:13 PDT
I'm looking. Thanks.
Yuqiang Xian
Comment 2
2012-10-30 20:41:00 PDT
Created
attachment 171571
[details]
patch Sorry for introducing the bug.
Yuqiang Xian
Comment 3
2012-10-31 00:00:38 PDT
Fix landed:
https://trac.webkit.org/changeset/132991
Roger Fong
Comment 4
2012-10-31 22:56:49 PDT
Many thanks!
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug