R600 Gallium3D Can Now Do OpenGL 3.0, GLSL 1.30

Posted by Michael Larabel on January 29, 2012

Marek Olšák has made another exciting commit to the Mesa mainline Git repository this weekend... What he's accomplished now is making it possible to successfully advertise OpenGL 3.0 / GLSL 1.30 support within the R600 Gallium3D driver for the Radeon HD 2000 series and later.

Committed last night to the Mesa mainline Git repository was "st/mesa: add PIPE_CAP_GLSL_FEATURE_LEVEL, cleanup st_extensions.c." It just adds a capability bit for advertising the supported GL Shading Language level. It doesn't seem too exciting at first glance, but then when looking at the commit message, it becomes a bit more exciting, as some Phoronix readers have already discovered.

Marek's commit message mentions that if the R600_GLSL130 environment variable is set, GL Shading Language 1.30 support is now enabled. Additionally, if the R600_STREAMOUT environment variable is set too, full OpenGL 3.0 support is exposed to the R600g driver. This is the open-source Gallium3D driver that supports from the Radeon HD 2000 series through the Radeon HD 6900 series (the Radeon HD 7000 series is coming to a new driver).

The R600g driver now joins Intel Sandy Bridge, Gallium3D Softpipe, and Nouveau NVC0-Fermi as being the open-source Mesa / Gallium3D drivers that are currently capable of doing OpenGL 3.0 / GLSL 1.30. Of course, the next step will be to actually have this R600g GL3 support fully exposed by default and not hidden behind some environment variables. There's also the NV50-class Nouveau GL3 support still missing. A commit this morning makes Nouveau take advantage of PIPE_CAP_GLSL_FEATURE_LEVEL, but it doesn't change the feature level for any of the supported hardware generations.

This commit by Marek has landed in the Mesa Git master repository and not into the 8.0 branch at this point (with not being labelled it's a candidate for the upcoming release in February), which would make it a feature a Mesa 8.1 in about six months time. Hopefully by then they will also manage to boost the OpenGL performance in order to make the OpenGL 3.x support a bit more useful.

Discuss this article in our forums, IRC channel, or email the author. You can also follow our content via RSS and on social networks like Facebook, Identi.ca, and Twitter (@Phoronix and @MichaelLarabel). Subscribe to Phoronix Premium to view our content without advertisements, view entire articles on a single page, and experience other benefits.
Latest Hardware Reviews
  1. Sumo Lounge Emperor
  2. Gallium3D Continues Improving OpenGL For Older Radeon GPUs
  3. 15-Way Open vs. Closed Source NVIDIA/AMD Linux GPU Comparison
  4. Nouveau vs. NVIDIA Linux Comparison Shows Shortcomings
Latest Software Articles
  1. Intel Linux OpenGL Driver Leading Over Apple OS X
  2. The Cost Of Ubuntu Disk Encryption
  3. Btrfs vs. EXT4 vs. XFS vs. F2FS On Linux 3.10
  4. AMD Radeon R600 GPU LLVM 3.3 Back-End Testing
Latest Linux News
  1. Hot Relocation HDD To SSD Support For Btrfs
  2. Phoronix Test Suite 4.6.0 "Utsira" Released
  3. New Intel X.Org Driver Supports All Of Haswell
  4. SQLite Now Faster With Memory Mapped I/O
  5. Microsoft Releases Skype For Linux 4.2, Has Bug-Fixes
  6. Qt For Tizen Launches, Based On Qt 5.1
  7. KTAP Released For Linux Kernel Dynamic Tracing
  8. Linux 3.10-rc2 Kernel Takes In A Few Extra Pulls
  9. QEMU 1.5 Supports VGA Passthrough, Better USB 3.0
  10. Handbrake 0.9.9 Supports OpenCL Offloading
  11. Freedreno Gallium3D Now Banging The Adreno A3XX
Latest Forum Talk
  1. Jolla Announces Their First Phone
  2. Microsoft Releases Skype For Linux 4.2, Has...
  3. DragonFly 3.4 vs FreeBSD 9.1 on phoronix test...
  4. Intel Linux OpenGL Driver Leading Over Apple OS X
  5. The Cost Of Ubuntu Disk Encryption
  6. Kubuntu, KDE Has Little Hope For Ubuntu's Mir
  1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Motherboards
  5. Peripherals
  6. Processors
  7. Software
  8. Operating Systems
  9. All Articles
  1. Linux Benchmarking
  2. OpenBenchmarking.org
  3. Phoronix Test Suite