Instancing big frame drops

Hello everybody,
I’m trying to do some instancing, instance noodles is great but for this I want to do a little custom shader and I would like to use instancing but, when I instance the geometry the frame rate drops drastically.
When I use instance noodles I don’t have these problems but here yes.

I attach the patch. (4.7 kB)

hey, first of all pipeline statistics rips off your fps quite hard, since this a readback operation, it’s gonna get slower by the amount of drawn primitives.
second problem instancing means draw same primitive many times, witch gonna work in case u have single quad and a lot of positions what u are doing is re-creating ur grid in gs, witch is already quite expensive/slow operation.
instead of instancing u should do a single grid and move it inside the shader…