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 Benchmarking Platform
Phoromatic Test Orchestration

Trying Out AMD's Radeon Gallium3D LLVM Compiler

Michael Larabel

Published on 30 April 2012
Written by Michael Larabel
Page 1 of 2 - 3 Comments

Last week the R600 LLVM compiler was hooked up for AMD's open-source Gallium3D driver. This LLVM shader compiler is important particularly for OpenCL enablement within the open-source Radeon Linux graphics driver, but still there is some ways to go before that code is ready for production use.

Right now the new LLVM compiler for Radeon Gallium3D is not used by default but Mesa must be recompiled with the "--enable-r600-llvm-compiler" build switch for the support to be enabled for this shader compiler.

While OpenCL is the target for this LLVM-based shader compiler, it could potentially be used for OpenGL GLSL shader compilation too. As said by AMD's Tom Stellard (the one who's been working on this R600 back-end) within the forums, "The LLVM backend will be used for OpenCL. It could potentially be used for GLSL as well, but it still needs a fair amount of work to bring it up to par with the current r600g compiler. At the moment there aren't any plans to improve GLSL support in the LLVM backend, but the work could certainly be done if an interested developer (or developers) wanted to do it."

As Phoronix readers were quick to point out in that thread, having this LLVM compiler enabled leads to issues for many shader-based games. These included screenshots were from Xonotic when the R600 LLVM compiler was enabled with many of the textures not working at all.

Latest Articles & Reviews
  1. Sub-$20 802.11n USB WiFi Adapter That's Linux Friendly
  2. The Lenovo T450s Is Working Beautifully With Linux
  3. Linux 4.0 SSD EXT4 / Btrfs / XFS / F2FS Benchmarks
  4. Linux 4.0 Hard Drive Comparison With Six File-Systems
  5. Lenovo ThinkPad T450s Broadwell Preview
  6. How Open-Source Allowed Valve To Implement VULKAN Much Faster On The Source 2 Engine
Latest Linux News
  1. Daily Builds Of Wayland & Weston For Ubuntu Linux
  2. AMD Open-Sources "Addrlib" From Catalyst
  3. AMD Releases New "AMDGPU" Linux Kernel Driver & Mesa Support
  4. A Gigabyte Sandy/Ivy Bridge Motherboard Now Handled By Coreboot
  5. Linux 3.16 Through Linux 4.0 Performance Benchmarks
  6. Intel's Windows Driver Now Supports OpenGL 4.4, Linux Driver Still With OpenGL 3.3
  7. DRM Graphics Updates Sent In For The Linux 4.1 Kernel
  8. More eBPF Improvements Heading To Linux 4.1
  9. LLDB Is Getting Into Shape For Linux 64-bit Debugging
  10. Wine-Staging 1.7.41 Works On Improved Debugging Support
Most Viewed News This Week
  1. Nouveau: NVIDIA's New Hardware Is "VERY Open-Source Unfriendly"
  2. LibreOffice 4.5 Bumped To Become LibreOffice 5.0
  3. Linux Audio Is Being Further Modernized With The 4.1 Kernel
  4. KDBUS Is Taking A Lot Of Heat, Might Be Delayed From Mainline Linux Kernel
  5. VirtualBox 5.0 Beta 2 Released
  6. ZFS & Libdvdcss Should Soon Be In Debian
  7. Ubuntu 15.04 Now Under Final Freeze
  8. EXT4 In Linux 4.1 Adds File-System Level Encryption