Closed
Bug 970775
Opened 10 years ago
Closed 10 years ago
CopyTex(Sub)Image2D can generate the wrong error
Categories
(Core :: Graphics: CanvasWebGL, defect)
Core
Graphics: CanvasWebGL
Tracking
()
RESOLVED
FIXED
mozilla30
People
(Reporter: jgilbert, Assigned: jgilbert)
References
Details
Attachments
(2 files)
11.42 KB,
patch
|
bjacob
:
review+
|
Details | Diff | Splinter Review |
4.99 KB,
patch
|
bjacob
:
review+
|
Details | Diff | Splinter Review |
I was adding more asserts to various parts of WebGLFramebuffer, and started seeing an assert that we were asking whether a null attachment has alpha or not. It looks like we will erroneously generate INVALID_OPERATION instead of INVALID_FRAMEBUFFER_OPERATION if the CopyTexImage2D is called while an FB with no color-attachment0 is bound, and our goal texture internalFormat has alpha, instead of generating INVALID_FB_OP because the FB is incomplete.
Assignee | ||
Comment 1•10 years ago
|
||
Attachment #8373849 -
Flags: review?(bjacob)
Assignee | ||
Comment 2•10 years ago
|
||
Attachment #8373851 -
Flags: review?(bjacob)
Assignee | ||
Comment 3•10 years ago
|
||
Here's a clean try run: https://tbpl.mozilla.org/?tree=Try&rev=4ef3916ba004
Assignee | ||
Comment 4•10 years ago
|
||
A try run with the asserts, but not the fixup patch: https://tbpl.mozilla.org/?tree=Try&rev=783cc0ae69c2 Note the asserts.
Updated•10 years ago
|
Attachment #8373849 -
Flags: review?(bjacob) → review+
Updated•10 years ago
|
Attachment #8373851 -
Flags: review?(bjacob) → review+
Assignee | ||
Comment 5•10 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/e8a7d2c8607c https://hg.mozilla.org/integration/mozilla-inbound/rev/37b53e9bf06f
Comment 6•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/e8a7d2c8607c https://hg.mozilla.org/mozilla-central/rev/37b53e9bf06f
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla30
You need to log in
before you can comment on or make changes to this bug.
Description
•