MozillaZine

Canvas inspector ignores instanced arrays

Discussion of bugs in Mozilla Firefox
pailhead
 
Posts: 2
Joined: October 17th, 2016, 6:58 am

Post Posted October 17th, 2016, 7:03 am

I'm playing with ANGLE_instanced_arrays and three.js. The canvas inspector reports 3 drawcalls where there should be 5. After the first clear call i see the instanced stuff drawn in the preview buffers but the only thing listed are 'regular' calls. Ie. when i click on the snapshot it shows the geometry drawn in the reported call but the instanced stuff is already in there without it being mentioned anywhere (2 missing draw calls).

therube

User avatar
 
Posts: 17994
Joined: March 10th, 2004, 9:59 pm
Location: Maryland USA

Post Posted October 17th, 2016, 7:37 am

(Sample code [& not that I'd be able to do anything with it]?)
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball CopyURL+ FetchTextURL FlashGot NoScript

pailhead
 
Posts: 2
Joined: October 17th, 2016, 6:58 am

Post Posted October 4th, 2017, 5:59 pm

There really isn't any special code i think. I use three.js so i'd have to consult the source, but also taking the bare essentials from here should replicate

http://blog.tojicode.com/2013/07/webgl- ... -with.html

Code: Select all

var ext = gl.getExtension("ANGLE_instanced_arrays") //get extension?

ext.drawElementsInstancedANGLE(gl.TRIANGLES, indexCount, gl.UNSIGNED_SHORT, 0, instanceCount) //draw



Result, this drawcall does not exist in the inspector. Any other does.

Wow, it's been almost a year :D

Return to Firefox Bugs


Who is online

Users browsing this forum: No registered users and 1 guest