Closed
Bug 1082225
Opened 10 years ago
Closed 5 years ago
WebGL: Fix bogus assert validating mStencilBufferRefFront/Back
Categories
(Core :: Graphics: CanvasWebGL, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: dvander, Assigned: dvander)
Details
Attachments
(1 file, 2 obsolete files)
2.48 KB,
patch
|
jgilbert
:
review+
|
Details | Diff | Splinter Review |
We're caching a value that is clamped internally, but not reading back the cached version as clamped.
Assignee | ||
Comment 1•10 years ago
|
||
Attachment #8504366 -
Flags: review?(jgilbert)
Comment 2•10 years ago
|
||
This is actually a dupe of 1015561. Let's just take the pre-r+'d patch there.
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
Comment 3•10 years ago
|
||
Comment on attachment 8504366 [details] [diff] [review] bug1082225-bogus-clamp-assert.patch Review of attachment 8504366 [details] [diff] [review]: ----------------------------------------------------------------- ::: dom/canvas/WebGLContext.h @@ +1319,5 @@ > GLfloat mColorClearValue[4]; > GLint mStencilClearValue; > GLfloat mDepthClearValue; > > + GLint ClampStencilRef(GLint ref); We don't want to expose this publically, since it's really just for our assertions, and surprisingly calls into GL instead of just recovering our expected values.
Attachment #8504366 -
Flags: review?(jgilbert)
Assignee | ||
Comment 4•10 years ago
|
||
Looks like it's an actual int to GL, so it needs clamping rather than masking.
Attachment #8504366 -
Attachment is obsolete: true
Attachment #8510088 -
Flags: review?(jgilbert)
Assignee | ||
Updated•10 years ago
|
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
Assignee | ||
Comment 5•10 years ago
|
||
(w/ stray bits removed)
Attachment #8510088 -
Attachment is obsolete: true
Attachment #8510088 -
Flags: review?(jgilbert)
Attachment #8510090 -
Flags: review?(jgilbert)
Updated•10 years ago
|
Attachment #8510090 -
Flags: review?(jgilbert) → review+
Comment 6•5 years ago
|
||
This code was removed.
Status: REOPENED → RESOLVED
Closed: 10 years ago → 5 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•