GLSL Support on Graphics Cards

Started by
5 comments, last by Geometrian 11 years, 6 months ago
[font=georgia,serif]Hi,[/font]

[font=georgia,serif]I am considering making a fairly large change to my codebase that would remove support for OpenGL 2 style shaders. This would allow me to clean up my code some and make some graphics algorithms more intuitive to implement.[/font]

[font=georgia,serif]However, I am concerned about the effect this will have on support. I want to be able to support pretty old hardware. The minimum standard I want to support is my old laptop, with a GeForce 8400M GS graphics card (which has OpenGL 2 support).[/font]

[font=georgia,serif]I did a lot of graphics development on that computer, and many OpenGL 3 and 4 features were available as extensions (e.g. FBOs). What I am wondering is whether OpenGL 3 style GLSL (i.e. GLSL 1.3+) can run with extensions on that platform.[/font]

[font=georgia,serif]Unfortunately, I don't have the laptop in this state to test that, and I wasn't able to find anything online. Where can I find out what GLSL versions are supported natively and through extensions on particular cards?[/font]

[font=georgia,serif]Thanks,[/font]
[font=georgia,serif]-G[/font]

[size="1"]And a Unix user said rm -rf *.* and all was null and void...|There's no place like 127.0.0.1|The Application "Programmer" has unexpectedly quit. An error of type A.M. has occurred.
[size="2"]

Advertisement
GLview is a utility that will give you details on the OpenGL support of the card you have such as the exact version and all extensions. If you just want to know what version of glsl you have its as follows:

GLSL Version OpenGL Version
1.10.59..............2.0
1.20.8................2.1
1.30.10..............3.0
1.40.08..............3.1
1.50.11..............3.2
3.30.6................3.3
4.00.9................4.0
4.10.6................4.1
4.20.6................4.2
4.30.6................4.3

The chart is from Wikipedia: http://en.wikipedia.org/wiki/GLSL.
[font=georgia,serif]As I wrote, "nfortunately, I don't have the laptop in this state to test", otherwise it would be trivial.[/font]

[size="1"]And a Unix user said rm -rf *.* and all was null and void...|There's no place like 127.0.0.1|The Application "Programmer" has unexpectedly quit. An error of type A.M. has occurred.
[size="2"]


[font=georgia,serif]As I wrote, "nfortunately, I don't have the laptop in this state to test", otherwise it would be trivial.[/font]


http://feedback.wildfiregames.com/report/opengl/device/GeForce%208400GS

bam! capabilities of opengl 8400gs
http://feedback.wild.../GeForce 8400GS
[font=georgia,serif]Marvelous! I actually wanted the 8400M GS, but that was easy to find on a linked page.[/font]

[font=georgia,serif]It looks like it would be supported (at least nearly all extensions seem to be supported on both Linux and Windows).[/font]

[font=georgia,serif]I would like to confirm this, though. I know from experience that the card supports OpenGL 2 style shaders, but what extension introduces OpenGL 3 style shaders? I was under the (possibly mistaken) impression that it was the original extensions that were just updated. Would the website be reporting support for these latest versions of the extensions then?[/font]

[font=georgia,serif]Thanks,[/font]
[font=georgia,serif]G[/font]

[size="1"]And a Unix user said rm -rf *.* and all was null and void...|There's no place like 127.0.0.1|The Application "Programmer" has unexpectedly quit. An error of type A.M. has occurred.
[size="2"]

How about you just check your GL_VERSION?

Direct3D has need of instancing, but we do not. We have plenty of glVertexAttrib calls.

As I wrote, "As I wrote, \"nfortunately, I don't have the laptop in this state to test\", otherwise it would be trivial."

[size="1"]And a Unix user said rm -rf *.* and all was null and void...|There's no place like 127.0.0.1|The Application "Programmer" has unexpectedly quit. An error of type A.M. has occurred.
[size="2"]

This topic is closed to new replies.

Advertisement