I am looking for a a short OpenGL geometry shader example that will run on Linux, preferably with as few dependencies as possible. Basically I want to use that program as a test to see if geometry shaders are supported at all on the system it’s currently running on.
Share
Just use
glxinfo(in the packagemesa-utilson Ubuntu/Debian) and check the extension list (GL_EXT/ARB_geometry_shader4) or OpenGL version (>= 3.2) for geometry shader support.Extension example:
Version example: