Open Bug 1473698 Opened 6 years ago Updated 2 years ago

Assertion in AvailGroups can be false

Categories

(Core :: Graphics: CanvasWebGL, defect, P3)

60 Branch
defect

Tracking

()

People

(Reporter: nox, Unassigned)

Details

(Keywords: assertion, Whiteboard: [gfx-noted])

Here is the assertion:

https://searchfox.org/mozilla-central/source/dom/canvas/WebGLContext.cpp#2232

We call it from GetDrawFetchLimits as part of the vertex attribs checks and
whatnot:

https://searchfox.org/mozilla-central/source/dom/canvas/WebGLProgram.cpp#520

But when we initialise the vertex attribs in VertexAttribPointer, it seems to me that we can end up with a combination of values which
makes `number_of_components * size_of_component` be greater than the stride.

https://searchfox.org/mozilla-central/source/dom/canvas/WebGLContextVertices.cpp#420
Keywords: assertion
Priority: -- → P3
Whiteboard: [gfx-noted]
Type: enhancement → defect
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.