1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Memory
  5. Motherboards
  6. Processors
  7. Software
  8. Storage
  9. Operating Systems


Facebook RSS Twitter Twitter Google Plus


Phoronix Test Suite

OpenBenchmarking.org

Geometry Shaders Soon To Hit Mesa, GL 3.2 Is Close

Mesa

Published on 10 September 2012 01:40 PM EDT
Written by Michael Larabel in Mesa
10 Comments

Patches for supporting OpenGL Geometry Shaders within Mesa/Gallium3D are said to be published soon, which is a big step that will make Mesa closer to supporting the OpenGL 3.2 specification.

Geometry shaders became a requirement to OpenGL 3.2 and via GLSL allow for generating new graphics primitives (points, lines, triangles) after the vertex shader stage. Back in July there was a GitHub repository with early geometry shader support, but at that time it was limited to running on the Softpipe driver and not any of the hardware drivers. Geometry shader support for Mesa has been a work-in-progress going back to 2009 and has dealt with over 30,000 lines of code.

When the geometry shader support is merged to Mesa Git master, it will put the code-base much closer to hitting OpenGL 3.2 compliance. Only with Mesa 9.0, which will be released in the coming weeks, will there be official OpenGL 3.1 support (and that's on Intel hardware).

Intel shared last month there will likely never be an OpenGL 3.2 Mesa release since OpenGL 3.3 compliance should hopefully land soon after GL 3.2 is in place. Much of the OpenGL 3.3 work is materializing in tandem to the GL 3.2 enablement. However, it will still be a while before supporting OpenGL 4.x.

Aside from geometry shader support, the other major missing pieces to Mesa's support of OpenGL 3.2 come down to supporting GLSL 1.50 (the GL Shading Language version for GL 3.2) and support for multi-sample textures.

Here's from the #dri-devel IRC channel earlier today:
17:54 [plombo] I think I'll finish writing piglit tests for geometry shaders and then send the GS patch set with everything completed except for layered FBO attachments
17:55 [plombo] then I can finish that after the rest is merged or being reviewed, since it's been slowing down the process considerably
17:55 [mareko] I think Dandel is writing some GS piglit tests too
17:55 [mareko] the more tests, the better
17:59 [Terman] plombo: so it is mostly geometry shaders missing to get ogl 3.2 support on hardware that supports them?
17:59 [plombo] Terman: yes, mostly
17:59 [plombo] that and GLSL 1.50
17:59 [mareko] plombo: and multisample textures
18:00 [plombo] yeah, also multisample textures
18:00 [plombo] I don't know much about multisampling so I didn't know whether that would be a huge task
18:01 [mareko] there only new sampler types and texfetch functions, that's it
18:02 [mareko] so you only pass them through to drivers (r600g support is done except for cayman)

If the rest of the OpenGL 3.2/3.3 items are finished by early next year when it's time for another Mesa release, it will put Mesa's next release version as Mesa 10.0 rather than Mesa 9.1 -- they bump the major version number every time there is support for a new version of the GL specification.

About The Author
Michael Larabel is the principal author of Phoronix.com and founded the web-site in 2004 with a focus on enriching the Linux hardware experience and being the largest web-site devoted to Linux hardware reviews, particularly for products relevant to Linux gamers and enthusiasts but also commonly reviewing servers/workstations and embedded Linux devices. Michael has written more than 10,000 articles covering the state of Linux hardware support, Linux performance, graphics hardware drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated testing software. He can be followed via and or contacted via .
Latest Linux Hardware Reviews
  1. CompuLab Intense-PC2: An Excellent, Fanless, Mini PC Powered By Intel's i7 Haswell
  2. From The Atom 330 To Haswell ULT: Intel Linux Performance Benchmarks
  3. AMD Radeon R9 285 Tonga Performance On Linux
  4. Apotop Wi-Copy
Latest Linux Articles
  1. AMD Moves Forward With Unified Linux Driver Strategy, New Kernel Driver
  2. MSI: Update Your BIOS From The Linux Desktop
  3. NVIDIA vs. AMD 2D Linux Drivers: Catalyst Is Getting Quite Good At 2D
  4. 15-Way GPU Comparison With Mesa 10.3 + Linux 3.17
Latest Linux News
  1. Linux 3.18-rc1 Released One Week Early With Many Changes
  2. The VC4 Gallium3D Driver Is Still Moving Along For The Raspberry Pi
  3. Direct3D 9 Support Might Land Within Mainline Mesa 3D Drivers
  4. OpenGL Preview Benchmarks For NVIDIA's GeForce GTX 970
  5. HOPE: The Ease Of Python With The Speed Of C++
  6. Vitesse: Using LLVM To Speed Up Databases
  7. AMD Is Restructuring Again, Losing 7% Of Employees
  8. Linux Testing Of The NVIDIA GeForce GTX 970
  9. Qt 5.4 Now In Beta With Web, Bluetooth LE, Graphics Improvements
  10. AMD's Radeon R9 285 On Linux Offers Good OpenCL Performance
Latest Forum Discussions
  1. NVIDIA Presents Its Driver Plans To Support Mir/Wayland & KMS On Linux
  2. AMD Is Restructuring Again, Losing 7% Of Employees
  3. Bye bye BSD, Hello Linux: A Sys Admin's Story
  4. Open-Source AMD Fusion E-350 Support Takes A Dive
  5. Upgrade to Kaveri, very slow VDPAU performance
  6. ChromeOS Drops Support For EXT2/EXT3/EXT4 File-Systems
  7. Lennart Poettering On The Open-Source Community: A Sick Place To Be In
  8. The Slides Announcing The New "AMDGPU" Kernel Driver