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

What Will Mesa's New GLSL Compiler Provide?

Mesa

Published on 23 July 2010 11:04 AM EDT
Written by Michael Larabel in Mesa
4 Comments

Yesterday we reported on Intel preparing to push its new GLSL compiler into Mesa by the end of next month so that it can be released with Mesa 7.9 by the end of this quarter. While Intel has developed this new compiler for the OpenGL Shading Language for their own needs and hardware, other Mesa drivers -- including those for Gallium3D -- will be using it once merged. After any initial bugs are addressed in the other drivers from this new GLSL compiler banging them in different ways, what good will this new shader compiler be for the end-user?

Aside from hopefully being more efficient and faster with shader compilation, a number of outstanding Mesa bugs should be closed with Intel's "GLSL2" compiler. How many bugs? Well, it's looking like about 50 Mesa bugs. Ian Romanick, who has been one of the Intel OSTC developers working on this new compiler, is maintaining a tracker bug that is monitoring all of the bugs that Intel believes will be solved by using their new compiler code. This is being tracked as FreeDesktop Bug 29044.

Among the 50+ bugs are for gl_Fog not functioning, a crash in the Slang code generator, assertion failures when compiling certain shaders, a vertex shader causing a segmentation fault within the GLSL compiler, many bugs in GLSL uniform handling, slow shader compilation on certain routines, GPU lockups or hangs in different scenarios, configurable pixel origin support, YoFrankie game support with the Intel DRI driver, a hang in Second Life when enabling GLSL, and various Piglit test case fixes, among many other GL shader compilation fixes. If not already implemented within the GLSL2 branch, Zack Rusin is also calling for geometry shaders support to be implemented in it prior to merging, since the existing Mesa compiler just gained such support. These bugs go as far back as 2007.

Let's just hope the fallout for the non-Intel drivers during the initial switch to this new compiler is not too significant and it doesn't become like what happened when Intel abandoned TTM for in-kernel memory management in favor of developing the Graphics Execution Manager exclusively around their needs while GEM didn't find (and still hasn't found) much love elsewhere. Few developers outside of Intel apparently haven't even yet compiled or tested the GLSL2 branch of Mesa.

Latest Linux Hardware Reviews
  1. Overclocking The AMD AM1 Athlon & Sempron APUs
  2. AMD Athlon 5350 / 5150 & Sempron 3850 / 2650
  3. Upgraded Kernel & Mesa Yield A Big Boost For Athlon R3 Graphics
  4. AMD Athlon 5350 APU On Linux
Latest Linux Articles
  1. Are AMD Athlon/Sempron APUs Fast Enough For Steam On Linux?
  2. AMD Athlon's R3 Graphics: RadeonSI Gallium3D vs. Catalyst
  3. GCC 4.9 Compiler Optimization Benchmarks For Faster Binaries
  4. DDR3 Memory Scaling Performance With AMD's Athlon 5350
Latest Linux News
  1. Intel Broadwell GT3 Graphics Have Dual BSD Rings
  2. Early Linux 3.15 Benchmarks Of Intel Core i7 + Radeon
  3. Red Hat Releases Its RHEL 7 Release Candidate
  4. New Features Coming To Xubuntu 14.04 LTS
  5. NVIDIA Officially Releases CUDA 6
  6. Google Releases An AutoFDO Converter For Perf In LLVM
  7. Fedora 21 To Evaluate Remote Journal Logging, 64-bit ARM Emulation
  8. Star Citizen Will Be Coming To Linux
  9. Ubuntu 14.10 Convergence To Focus On Replacing Core Apps
  10. The Results Of Optimizing Radeon's VRAM Behavior
  11. Kernel Developers Discuss Improving Kernel Configurations
  12. Apple, LLVM Developers Figure Out Their 64-Bit ARM Approach
Latest Forum Discussions
  1. The GNOME Foundation Is Running Short On Money
  2. Linux Kernel Developers Fed Up With Ridiculous Bugs In Systemd
  3. Bye bye BSD, Hello Linux: A Sys Admin's Story
  4. New tool for undervolt/overclock AMD K8L and K10 processors
  5. How to enable opengl 3.3 on r9 270?
  6. R290x sound problems
  7. radeon-profile: tool for changing profiles and monitoring some GPU parameters
  8. Torvalds Is Unconvinced By LTO'ing A Linux Kernel