WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
126538
[WebGL] FBO Depth Buffer Attachment Function Improperly Clearing With 0
https://bugs.webkit.org/show_bug.cgi?id=126538
Summary
[WebGL] FBO Depth Buffer Attachment Function Improperly Clearing With 0
Brent Fulgham
Reported
2014-01-06 14:03:47 PST
The problem was introduced in 2010 under
https://bugs.webkit.org/show_bug.cgi?id=36248
. The depth buffer should be initialized to 1.0f (rather than 0.0f) to match expected initialization behavior. The current logic was setting the depth buffer to 1.0, blocking all drawing operations, unless an explicit "gl.clear(gl.DEPTH_BUFFER_BIT)" was being done immediately after attaching the depth FBO.  Found by webgl/1.0.2/resources/webgl_test_files/conformance/renderbuffers/framebuffer-object-attachment.html
Attachments
Patch
(1.58 KB, patch)
2014-01-06 14:08 PST
,
Brent Fulgham
dino
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Brent Fulgham
Comment 1
2014-01-06 14:04:35 PST
<
rdar://problem/15201336
>
Brent Fulgham
Comment 2
2014-01-06 14:08:38 PST
Created
attachment 220455
[details]
Patch
Brent Fulgham
Comment 3
2014-01-06 14:39:55 PST
Committed
r161375
: <
http://trac.webkit.org/changeset/161375
>
Brent Fulgham
Comment 4
2014-01-07 09:15:35 PST
***
Bug 81290
has been marked as a duplicate of this bug. ***
Brent Fulgham
Comment 5
2014-01-10 10:27:18 PST
***
Bug 122264
has been marked as a duplicate of this bug. ***
Martin Robinson
Comment 6
2014-04-08 16:17:13 PDT
***
Bug 94300
has been marked as a duplicate of this bug. ***
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