Closed Bug 1495857 Opened 1 year ago Closed 1 year ago
GL "Vertex attrib array" error reporting bug
46 bytes, text/x-phabricator-request
|Details | Review|
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0 Steps to reproduce: In WebGL: enable a vertex attrib array other than 0 without binding a buffer. The following code (see link) has a bug : i is never incremented. https://dxr.mozilla.org/mozilla-central /rev/a461fe03fdb07218b7f50e92c59dde64b8f8a5b0/dom/canvas/WebGLProgram.cpp#485 Actual results: Error message "Vertex attrib array 0 is enabled but has no buffer bound." regardless of the index of the actual enabled vertex attrib array. Expected results: Error message should be "Vertex attrib array N is enabled but has no buffer bound." where N is the actual enabled vertex attrib array.
Component: Untriaged → Canvas: WebGL
Product: Firefox → Core
Assignee: nobody → jnicol
Priority: -- → P3
QA Contact: jgilbert
Pushed by firstname.lastname@example.org: https://hg.mozilla.org/integration/autoland/rev/08971360de61 Ensure correct vertex attrib array index is output in error message r=jgilbert
You need to log in before you can comment on or make changes to this bug.