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.org

A Mesa Branch Provides GLSL IR To TGSI Translator

Mesa

Published on 28 April 2011 11:33 AM EDT
Written by Michael Larabel in Mesa
25 Comments

What's been talked about extensively and for quite a while but not acted upon too much is ridding Mesa of Mesa IR, it's intermediate representation used internally by core Mesa and its drivers. It was also talked about as a possible summer project of replacing Mesa IR with GLSL IR. Now though an individual has begun gutting out Mesa IR and providing a direct GL Shading Language IR to TGSI (the Gallium3D IR) translator.

The work was announced this week on the Mesa mailing list and the code is currently a work in progress but can be found on GitHub. It seeks to replace Mesa IR with this GLSL IR to TGSI translator.

This work will hopefully be a stepping-stone to GLSL 1.30 support for Mesa in Gallium3D as needed by the OpenGL 3.0 specification. "My main objective with this work is to make GLSL 1.30 support feasible on Gallium drivers. From what I understand, it would be difficult or impossible to implement integer-specific opcodes such as shifting and bit masking in Mesa IR, since it only supports floats. TGSI, on the other hand, doesn't have this problem, and already supports most or all of the functionality required by GLSL 1.30."

Competing with this work is LunarGLASS that is replacing Mesa IR and other parts of the stack with LLVM IR and Low-Level Virtual Machine optimizations. This work though hasn't been too popular with upstream developers outside of LunarG. This work is also only available in a Mesa branch.

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 Hardware Reviews
  1. Scythe Mugen MAX
  2. Intel Core i7 5960X Haswell-E On Linux
  3. Intel 80GB 530 Series M.2 SSD On Linux
  4. With A New Motherboard, The Core i7 5960X Haswell-E Lights Up
Latest Linux Articles
  1. RadeonSI GLAMOR Benchmarks With X.Org Server 1.16
  2. RadeonSI Gallium3D vs. Catalyst At 4K UHD On Linux
  3. MSAA RadeonSI Gallium3D Performance Preview
  4. Intel Core i7 5960X CPU Core Scaling Under Linux
Latest Linux News
  1. Tropico 5 Being Released For Linux Gamers This Week
  2. Eclipse IDE Starts Firing Up On Wayland's Weston
  3. OpenSUSE Announcement On SUSE's Recent Merger
  4. Valve Begins Publicly Tracking AMD Catalyst Linux Issues
  5. Digia Qt Spinoff Is Called "The Qt Company"
  6. GNOME 3.14 Makes More Progress In Running Natively On Wayland
  7. Minix 3.3 Released With Cortex-A8 ARM Support, NetBSD Userland Compatibility
  8. More Intel DRM Changes Queued For Linux 3.18, Including Old i830M Fixes
  9. New Code Starts Lining Up For X.Org Server 1.17
  10. Rust Developers Planning For The Rust 1.0 Language
Latest Forum Discussions
  1. New Group Calls For Boycotting Systemd
  2. Hd 6850
  3. New stress testing utility for GPU's
  4. Best Radeon for a Power Mac G5?
  5. Updated and Optimized Ubuntu Free Graphics Drivers
  6. support for first generation UVD blocks (RV6xx, RS780, RS880 and RV790)
  7. Nvidia joins the ranks of Apple and Microsoft
  8. nv and xorg.conf under Debian PPC