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 Linux News
  1. OpenWRT 15.05 Preparing Improved Security & Better Networking
  2. Using The New LLVM/Clang OpenMP Support
  3. Zapcc Claims To Be A "Much Faster C++ Compiler"
  4. Godot 1.1 Engine Release Brings New 2D Engine
  5. Intel VA-API Driver 1.6 Is Coming
  6. Canonical Is Reportedly Considering An IPO
  7. GNOME 3.18 - GTK3 Now Supports RandR 1.5
  8. Fedora 22 Risks Being Delayed Beyond Next Week
  9. Systemd 220 Has Finally Been Released
  10. LibreOffice 5.0 Beta 1 Released
  11. Allwinner Publishes New CedarX Open-Source Code
  12. ACPI 6 Non-Volatile Memory Device Support / NFIT / LIBND For Linux
Latest Articles & Reviews
  1. Btrfs RAID 0/1 Benchmarks On The Linux 4.1 Kernel
  2. The State Of Various Firefox Features
  3. Intel Iris Graphics Performance With Mesa 10.6
  4. Fedora Workstation 22 Is Looking Great, Running Fantastic
Most Viewed News This Week
  1. The Linux 4.0 Kernel Currently Has An EXT4 Corruption Issue
  2. Rust 1.0 Language Officially Released
  3. AMDGPU Open-Source Driver Code Continues Maturing
  4. Oculus Rift Suspends Linux Development To Focus On Windows
  5. Wine 1.7.43 Works On Desktop Shell Window Support
  6. Spec Ops: The Line Is The Latest Linux Shooter
  7. RadeonSI Gallium3D Driver To Be Enabled For Android
  8. Microsoft Open-Sources The Windows Communication Foundation