Login  Register

Re: Bindless vertex array

Posted by elect on May 08, 2015; 10:01am
URL: https://forum.jogamp.org/Bindless-vertex-array-tp4034343p4034456.html

I have some great news..

My code is running fast as hell on GPU

So the problem is on the cpu side (jogl/driver)

With the slowest rendering using:

- not bindless uniforms
- updating uniform every frame
- updating uniform for each mesh (building)
- not using (bindless) textures
- not using vbum

My whole rendering function takes, in average, 3987124 ns = 3987,1 us = 4,0 ms!

If we assume any other overhead equal zero, this would lead to 250 fps

The fastest rendering instead:

- with bindless uniforms
- updating uniform every frame
- updating uniform for each mesh (building)
- not using (bindless) textures
- by using vbum

takes, instead, an average of 1216558 ns = 1216,6 us = 1,2 ms!

This would mean, theoretically, 833 fps!


Ps: I am measuring time in this way