I am interested in using the new GLSL 1.30 features (mainly switch statements and tex coord offsets), but at the moment I don’t see any compelling reason to port my app from OpenGL 2.1 to 3.0 since all the new features are available as extensions anyway in 2.1 and the old features are all still there in 3.0. Can GLSL 1.30 be used in a 2.1 context? How would I go about doing that? Is it as simple as putting #version 130 at the beginning of the shader source?
I did not want to go GL 3.0 right away because I’d rather wait for the drivers to mature a bit. There is more to implement in the full 3.0 context (driver side) than only the GLSL 1.30 version.
I did not see anything about support to glsl 1.3 on GL 2.1 either… I was hoping I had missed something!