Bug 31842 - getParameter(STENCIL_VALUE_MASK) (and others) returns the wrong value
Summary: getParameter(STENCIL_VALUE_MASK) (and others) returns the wrong value
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebGL (show other bugs)
Version: 528+ (Nightly build)
Hardware: All OS X 10.5
: P2 Normal
Assignee: Zhenyao Mo
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-24 11:52 PST by Chris Marrin
Modified: 2010-08-12 16:14 PDT (History)
4 users (show)

See Also:


Attachments
patch (7.26 KB, patch)
2010-08-12 15:43 PDT, Zhenyao Mo
dglazkov: review+
zmo: commit-queue-
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Marrin 2009-11-24 11:52:23 PST
When value is 0xFFFFFFFF, implementation returns 18446744073709552000, which I think is 0xFFFFFFFFFFFFFFFF with rounding.
Comment 1 Chris Marrin 2009-11-24 12:00:19 PST
This bug caused LayoutTests/fast/canvas/webgl/gl-get-calls.html to fail. These tests have been removed until this bug is fixed
Comment 2 Zhenyao Mo 2010-08-12 15:43:14 PDT
Created attachment 64274 [details]
patch
Comment 3 Zhenyao Mo 2010-08-12 15:43:36 PDT
Test is in sync with khronos conformance tests.
Comment 4 Kenneth Russell 2010-08-12 16:03:06 PDT
Comment on attachment 64274 [details]
patch

Looks good.
Comment 5 Dimitri Glazkov (Google) 2010-08-12 16:09:12 PDT
Comment on attachment 64274 [details]
patch

ok.
Comment 6 Zhenyao Mo 2010-08-12 16:14:39 PDT
Committed r65279: <http://trac.webkit.org/changeset/65279>