Intel Skylake On Mesa Now Supports ARB_shader_stencil_export
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.
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.
Add A Comment