Closed Bug 974744 Opened 11 years ago Closed 10 years ago

"Assertion failure: false (Invalid WebGL attachment point?)"

Categories

(Core :: Graphics: CanvasWebGL, defect)

x86_64
macOS
defect
Not set
critical

Tracking

()

RESOLVED FIXED
mozilla34

People

(Reporter: jruderman, Assigned: wlitwinczyk)

Details

(Keywords: assertion, testcase)

Attachments

(4 files)

Attached file testcase (deleted) —
Assertion failure: false (Invalid WebGL attachment point?), at content/canvas/src/WebGLFramebuffer.cpp:258 Bug 928639 was an older bug that hit this assertion (but required a pref). Bug 962392 fixed a typo in the assertion message.
Attached file stack (deleted) —
Assignee: nobody → wlitwinczyk
Attached file 974744_crash.txt (deleted) —
Updated crash log, OSX
Pretty simple, the assert was correct, there was no check for textures + STENCIL_ATTACHMENT (for FBOs). From what I read in the spec, STENCIL_INDEX8 is the only format that is stencil-renderable and this is not a format that textures can be made as, so I just return false if a texture is attached as a stencil buffer.
Attachment #8475414 - Flags: review?(jgilbert)
Attachment #8475414 - Flags: review?(jgilbert) → review+
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla34
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: