Fixed compatibility and added a GS example

* Updated the Shader example with a geometry shader example.
* Added backwards compatibility to be able to ommit geometry shaders.