Don't load shaders when VBOs are active

BlitzMax Forums/OpenGL Module/Don't load shaders when VBOs are active

JoshK(Posted 2008) [#1]
Just don't. There's no rule against this, but watch out for it because it will cause random crashes on some hardware...but not all.


FreakForFreedom(Posted 2008) [#2]
Really? I had the strange bug that some shaders where only loaded 1 of 2 times when VBO's where active, but never crashes...


DavidSimon(Posted 2008) [#3]
In other breaking news, do not get into your microwave with your hotplate. More on this, at seven.


Ian Thompson(Posted 2008) [#4]
I will keep this in mind, ty.


ImaginaryHuman(Posted 2008) [#5]
By active you mean loaded and selected as the source of geometry and called by some gl function to draw with them? Are you saying you can't use shaders with vertex buffers at all?


beanage(Posted 2009) [#6]
YEah, would be great know what u mean with that exactly, u get me seriously nervous thinkng about the conception a a renderer i'm just designing.


Grover(Posted 2009) [#7]
Little different topic, but covers 'best usage practices' for modern GPU's:
http://developer.nvidia.com/object/bindless_graphics.html


beanage(Posted 2009) [#8]
Thanks for sharing. Interesting.. is this an nv ext only or regulary arb? Is the perf speedup of ~7 times as aid in the article a common thing?