Intel Skylake On Mesa Now Supports ARB_shader_stencil_export
Written by Michael Larabel in Mesa on 22 October 2015 at 08:23 AM EDT. Add A Comment
The latest OpenGL extension implemented for the Intel Mesa DRI driver is ARB_shader_stencil_export.

GL_ARB_shader_stencil_export has been around since OpenGL 4.1 and is an extension authored by AMD developers back in 2010. The specification explains, "This extension provides a mechanism whereby a shader may generate the stencil reference value per invocation. When stencil testing is enabled, this allows the test to be performed against the value generated in the shader. When the stencil operation is set to GL_REPLACE, this allows a value generated in the shader to be written to the stencil buffer directly."

With the Mesa driver's current implementation, only Skylake "Gen9" and newer graphics hardware is supported.

The work landed in Mesa Git over the night by Ben Widawsky via these patches.
Related News
About The Author
Author picture

Michael Larabel is the principal author of and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and automated benchmarking software. He can be followed via Twitter or contacted via

Popular News This Week