Closed
Bug 864044
Opened 12 years ago
Closed 11 years ago
WebGL assertion failure: depthClearValue == mDepthClearValue and crash [@mozilla::WebGLContext::ForceClearFramebufferWithDefaultValues]
Categories
(Core :: Graphics: CanvasWebGL, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: posidron, Unassigned)
References
Details
(Keywords: assertion, crash, testcase)
Attachments
(1 file)
(deleted),
text/html
|
Details |
Assertion failure: depthClearValue == mDepthClearValue, at content/canvas/src/WebGLContext.cpp:1175
Tested with m-i changeset: 129367:9ff5c0134bbf
Comment 1•12 years ago
|
||
Please CC me on these bugs in the future.
Comment 2•12 years ago
|
||
My guess is that the floats don't match exactly. Something like this:
glClearDepth(0.000001), glGetParameter(DEPTH_CLEAR) => 0.0
assert(0.000001 == 0.0); // fails!
Comment 3•12 years ago
|
||
Derp, now I remember why I thought this was so simple: ClearDepth should truncate to [0.0, 1.0], so clearly we shouldn't get 32.0 back if we query it.
Comment 4•11 years ago
|
||
Bug 878609 shows another way to trip this assertion.
Updated•11 years ago
|
Comment 5•11 years ago
|
||
Fixed by 885911.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•