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

An OpenGL Optimization Extension Merged Into Mesa

Mesa

Published on 06 October 2013 02:49 PM EDT
Written by Michael Larabel in Mesa
18 Comments

Yesterday Mesa received support for a new OpenGL extension and after that another useful OpenGL 4.2 extension was added to Mesa and implemented within the Intel OpenGL Linux driver. This latest extension can be used for a driver performance optimization.

The newest extension implemented in Mesa and more specifically the Intel DRI driver is ARB_conservative_depth. The ARB_conservative_depth extension has been implemented for Ivy Bridge "Gen7" hardware and newer. With time, the extension will be implemented by the Radeon and Nouveau Gallium3D drivers. There is also support for ARB_conservative_depth within the Softpipe driver.

OpenGL's ARB_conservative_depth extension allows games and applications to pass information to the OpenGL driver for implementing a performance optimization of an early depth test run before the fragment shader so the driver can skip the evaluation process if the fragment will be discarded due to being occluded.

The OpenGL.org registry lays out the extension in full.
There is a common optimization for hardware accelerated implementation of OpenGL which relies on an early depth test to be run before the fragment shader so that the shader evaluation can be skipped if the fragment ends up being discarded because it is occluded.

This optimization does not affect the final rendering, and is typically possible when the fragment does not change the depth programmatically. (i.e.: it does not write to the built-in gl_FragDepth output). There are, however a class of operations on the depth in the shader which could still be performed while allowing the early depth test to operate.

This extension allows the application to pass enough information to the GL implementation to activate such optimizations safely.
The ARB_conservative_depth extension is a requirement for OpenGL 4.2 compliance. This Git commit enabled the Intel i965 ARB_conservative_depth depth support for Gen7+ hardware.

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. 7-Way Linux Desktop Gaming Comparison On Ubuntu 14.10
  2. Intel P-State vs. CPUFreq Benchmarks On The i7-5960X
  3. RadeonSI GLAMOR Benchmarks With X.Org Server 1.16
  4. RadeonSI Gallium3D vs. Catalyst At 4K UHD On Linux
Latest Linux News
  1. F2FS Tools Gain FSCK Support
  2. FreeBSD 10.1 Has The New VT Driver, Hardware Improvements
  3. AntiMicro 2.6 Yields Greater Compatibility For Gamepads On Linux
  4. OpenGL 3.3 / GLSL 3.30 Lands For Intel Sandy Bridge On Mesa
  5. AMD's RadeonSI Gallium3D Driver Sees Some Improvements
  6. Mesa 10.3 Released With The Latest Open-Source GPU Driver Improvements
  7. GNOME 3.13.92 Officially Released
  8. Wine 1.7.27 Is Still Working Towards Direct2D Support
  9. Wasteland 2 Officially Launched Today, Including For Linux Gamers
  10. Tropico 5 Launches On Steam For Linux
Latest Forum Discussions
  1. SSD seems slow
  2. X.Org Women Outreach Program Only Turns Up Two Applicants So Far
  3. Can Linux kill a motherboard?
  4. Stop grabbing my keyboard :(
  5. Glamor now enabled in Debian radeonsi
  6. New stress testing utility for GPU's
  7. New Group Calls For Boycotting Systemd
  8. It's Now Possible To Play Netflix Natively On Linux Without Wine Plug-Ins