The R300 GLSL Compiler Improvements Are Coming

Posted by Michael Larabel on June 08, 2010

As we talked about back in April, there are five summer X/Mesa projects as part of Google's Summer of Code. One of these projects is to improve the GLSL (GL Shading Language) compiler for the ATI R300 class graphics processors and while the summer has just begun, there is already some work emerging.

Tom Stellard is the student developer working on the R300 GLSL improvements, which should benefit many include with the ATI Gallium3D stack for this older hardware architecture. Tom wrote to the Mesa development list a few days back to the Mesa development list that he's published a branch of Mesa that now supports loop unrolling for R300 ASICs that don't natively support the unrolling of loops.

This code is still primitive in that it only supports unrolling loops with a constant number of iterations and the support is only enabled for fragment shaders, but vertex shaders should soon come. Brian Paul has looked at the code and is trying to get the work into Mesa's GLSL compiler rather than the R300-specific compiler, which more hardware/drivers could take advantage of if properly hooked up.

This compiler loop emulation discussion can be found in this thread. Tom has also setup a blog where he is discussing this R300 GLSL GSoC work, including already a branch emulation post. You can also be sure that we'll be monitoring his blog and the Mesa threads for any other interesting improvements this summer.

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. The Cost Of Ubuntu Disk Encryption
  2. Btrfs vs. EXT4 vs. XFS vs. F2FS On Linux 3.10
  3. AMD Radeon R600 GPU LLVM 3.3 Back-End Testing
  4. F2FS File-System Shows Regressions On Linux 3.10
Latest Linux News
  1. QEMU 1.5 Supports VGA Passthrough, Better USB 3.0
  2. Handbrake 0.9.9 Supports OpenCL Offloading
  3. Freedreno Gallium3D Now Banging The Adreno A3XX
  4. Jolla Announces Their First Phone
  5. Mageia 3 Released, Still Using Legacy GRUB
  6. NetBSD 6.1 Brings In More Features
  7. Using Six Monitors With AMD's Open-Source Linux Driver
  8. Benchmarking The Intel P-State, CPUfreq Changes
  9. FreeBSD Still Working On Next-Gen Package Manager
  10. DNF Still Advancing As Experimental Yum For Fedora
  11. Logitech Begins Supporting Linux Users
Latest Forum Talk
  1. Handbrake 0.9.9 Supports OpenCL Offloading
  2. QEMU 1.5 Supports VGA Passthrough, Better USB 3.0
  3. The Cost Of Ubuntu Disk Encryption
  4. Freedreno Gallium3D Now Banging The Adreno A3XX
  5. Sumo Lounge Emperor
  6. FreeBSD Still Working On Next-Gen Package Manager
  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