Open
Bug 1954031
Opened 1 month ago
Updated 20 days ago
WebGL2RenderingContext.bufferSubData: Argument 3 can't be a resizable ArrayBuffer or ArrayBufferView - for NON-length-tracking TypedArray
Categories
(Core :: Graphics: CanvasWebGL, defect)
Tracking
()
UNCONFIRMED
People
(Reporter: mcost45, Unassigned, NeedInfo)
Details
Attachments
(1 file)
1.07 KB,
application/x-zip-compressed
|
Details |
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:136.0) Gecko/20100101 Firefox/136.0
Steps to reproduce:
Minimal repro - codepen (or use attached files):
https://codepen.io/mttrx/pen/wBvPZZj
- Create a resizable array buffer
- Create TypedArray on buffer, with fixed length (non-length-tracking)
- Create GL buffer
- Use TypedArray as source data for WebGL bufferSubData(target, offset, srcData)
Actual results:
Firefox throws:
WebGL2RenderingContext.bufferSubData: Argument 3 can't be a resizable ArrayBuffer or ArrayBufferView TypeError: WebGL2RenderingContext.bufferSubData: Argument 3 can't be a resizable ArrayBuffer or ArrayBufferView
Expected results:
BufferSubData call succeeds.
Chrome 134.0.6998.89 (64-bit) results:
"FIRST bufferSubData was successful (3 args)!"
Comment 1•1 month ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Graphics: CanvasWebGL' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Component: Untriaged → Graphics: CanvasWebGL
Product: Firefox → Core
Comment 2•20 days ago
|
||
The severity field is not set for this bug.
:jgilbert, could you have a look please?
For more information, please visit BugBot documentation.
Flags: needinfo?(jgilbert)
You need to log in
before you can comment on or make changes to this bug.
Description
•