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

NIR: A New IR Developed For Mesa That's Better Than GLSL IR

Intel

Published on 18 August 2014 02:05 PM EDT
Written by Michael Larabel in Intel
26 Comments

Connor Abbott, the open-source developer that began contributing to the Lima Linux graphics driver while a high school student, was interning at Intel this summer even before starting college. Over the summer the focus of his Intel Linux internship was focusing on developing a new intermediate representation for Mesa graphics drivers.

Connor previously proposed the "Flatland" GLSL IR and the work went on to other Mesa IR discussions while the past few months he's been paid by Intel to work out a new Mesa IR. This new IR is called "NIR" and aims to be lower-level than GLSL IR but still high enough to be device-independent and support generic optimizations. NIR is flat, type-less, GLSL-like features, native support for SSA, and uses much less memory than GLSL IR.

On Friday there was the public announcement for this new IR for Mesa while it's still considered experimental and not yet complete. When it comes to Mesa drivers actually supporting it, there's an experimental back-end for the Intel i965 classic driver but it's not yet in a state for merging and currently the NIR code for Mesa still needs to take GLSL IR before translating it to NIR. Originally the student developer was planning to just rework GLSL IR until realizing its faults were too many and determined it would be better in the long run to just develop NIR.

Those wishing to learn more about this new IR for Mesa can find out more information via the Mesa announcement.

About The Author
Michael Larabel is the principal author of Phoronix.com and founded the web-site in 2004 with a focus on enriching the Linux hardware experience and being the largest web-site devoted to Linux hardware reviews, particularly for products relevant to Linux gamers and enthusiasts but also commonly reviewing servers/workstations and embedded Linux devices. Michael has written more than 10,000 articles covering the state of Linux hardware support, Linux performance, graphics hardware drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated testing software. He can be followed via and or contacted via .
Latest Linux News
  1. Zapcc Claims To Be A "Much Faster C++ Compiler"
  2. Godot 1.1 Engine Release Brings New 2D Engine
  3. Intel VA-API Driver 1.6 Is Coming
  4. Canonical Is Reportedly Considering An IPO
  5. GNOME 3.18 - GTK3 Now Supports RandR 1.5
  6. Fedora 22 Risks Being Delayed Beyond Next Week
  7. Systemd 220 Has Finally Been Released
  8. LibreOffice 5.0 Beta 1 Released
  9. Allwinner Publishes New CedarX Open-Source Code
  10. ACPI 6 Non-Volatile Memory Device Support / NFIT / LIBND For Linux
  11. Fedora 22 Marches Closer To Release
  12. The Linux 4.0 EXT4 RAID Corruption Bug Has Been Uncovered
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