PDA

View Full Version : OpenGL 3.2 and NV_Vertex_Buffer_Unified_Memory



elFarto
10-04-2009, 06:22 AM
Hi

Is it possible to have NVIDIA's bindless graphics extensions working with an OpenGL 3.2 context? Everything seems to be fine, but since glEnableClientState has been removed, there's no way to tell the GL to use GPU addressing.

Prehaps a quick tweak of the spec is needed to allow GL_VERTEX_ATTRIB_ARRAY_UNIFIED_NV and GL_ELEMENT_ARRAY_UNIFIED_NV to be passed to glEnable instead.

Thanks & Regards
elFarto

Ketracel White
10-04-2009, 06:51 AM
If I understood the extension correctly it reintroduces glEnableClientState for contexts that remove its original function.

elFarto
10-04-2009, 07:08 AM
On a closer look, it seems LWJGL is shooting me in the foot, by not bothering to get the address of glEnableClientState if a forward compatible context is created.

Regards
elFarto

barthold
10-05-2009, 10:54 AM
If I understood the extension correctly it reintroduces glEnableClientState for contexts that remove its original function.


Correct, but EnableClientState will only accept the Bindless Graphics related tokens in this case.

Regards,
Barthold
(with my NVIDIA hat on)