Shader Optimizations Revived For R600 Gallium3D

Posted by Michael Larabel on February 14, 2013

Vadim Girlin has revived his "shader optimization" branch of Mesa that focuses upon improvements to the AMD R600 Gallium3D graphics driver.

Going back to late 2011, Girlin was working on shader optimizations for R600g and he finally found time to revive his work on this code. He said on Wednesday that the code is now mostly done, correct, and featureful -- at least for the Radeon HD 5000 "Evergreen" series. It's still a "work in progress" for the efficiency of generateds shader code and the back-end itself, but he's becoming quite happy with the progress.

Vadim Girlin spent time in 2012 studying the R600 GPU LLVM back-end too, but he decided that it would be easier to implement all of his desired functionality into his own implementation.

In his new mailing list post, Vadim writes, "Currently the branch has no regressions with piglit's quick-driver.tests on evergreen (it doesn't rely on the fallback to unoptimized code for the shaders with relative addressing and other cases unlike the previous branch), and so far I don't see any rendering issues with the apps that I used for testing - Lightsmark 2008, Unigine Heaven 3.0 and some others. There are also some performance improvements with the gpu-bound apps."

The code in its current form can be found in this Mesa branch. In his mailing list post, Vadim provides a lot more detail about the current work and features surrounding this shader optimization code for the open-source R600g driver. It's not known what will ultimately happen of this R600g code, but it's worth checking out. Right now Vadim is seeking the comments and review of other open-source Radeon Linux driver developers.

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. Linux Desktop Security Could Be A Whole Lot Better
  2. KDE 4.11 Will Be The Last Major KDE4 Workspaces Feature Release
  3. New NVIDIA Linux Driver Supports The GeForce GTX 780
  4. Chrome 28 To Offer More Speed Improvements
  5. Digia Announces "Boot To Qt" Project
  6. X.Org Libraries Hit By Round Of Security Issues
  7. Wayland's Weston Gets Output Scaling Support
  8. Raspberry Pi Gets New Wayland Weston Renderer
  9. Debian GNU/Hurd 2013 Release Brings New Packages
  10. Intel Ultrabook Performance Is Faster With Mesa 9.2
  11. Hot Relocation HDD To SSD Support For Btrfs
Latest Forum Talk
  1. Debian GNU/Hurd 2013 Release Brings New Packages
  2. Fedora 19 Alpha Gets Its First Delay Due To UEFI
  3. X.Org Libraries Hit By Round Of Security Issues
  4. Linux Desktop Security Could Be A Whole Lot Better
  5. Intel Linux OpenGL Driver Leading Over Apple OS X
  6. KDE 4.11 Will Be The Last Major KDE4 Workspaces...
  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