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. Wayland's Weston Gets Output Scaling Support
  2. Raspberry Pi Gets New Wayland Weston Renderer
  3. Debian GNU/Hurd 2013 Release Brings New Packages
  4. Intel Ultrabook Performance Is Faster With Mesa 9.2
  5. Hot Relocation HDD To SSD Support For Btrfs
  6. Phoronix Test Suite 4.6.0 "Utsira" Released
  7. New Intel X.Org Driver Supports All Of Haswell
  8. SQLite Now Faster With Memory Mapped I/O
  9. Microsoft Releases Skype For Linux 4.2, Has Bug-Fixes
  10. Qt For Tizen Launches, Based On Qt 5.1
  11. KTAP Released For Linux Kernel Dynamic Tracing
Latest Forum Talk
  1. QEMU 1.5 Supports VGA Passthrough, Better USB 3.0
  2. Using Six Monitors With AMD's Open-Source Linux...
  3. Humble Indie Bundle Finally Sells Out
  4. Wayland's Weston Gets Output Scaling Support
  5. Microsoft Releases Skype For Linux 4.2, Has...
  6. Linux Kernel Closer To Having Apple IR Support
  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