Intel Mesa Patches For ARB_texture_multisample

Written by Michael Larabel in Mesa on 29 December 2012 at 08:17 AM EST. Add A Comment
MESA
Patches surfaced on the Mesa mailing list on Saturday morning for supporting the OpenGL ARB_texture_multisample extension within core Mesa and the Intel i965 DRI driver.

A set of 26 patches against Mesa were needed for this initial ARB_texture_multisample implementation. The only driver implementing the support with these patches is the Intel DRI driver and even there it's only on right now for Intel Sandy Bridge "Gen6" hardware. For the newer Ivy Bridge "Gen7", there's still some IVB-specific things that aren't done or properly tested. Even for Sandy Bridge with these patches, there's some HiZ interactions that are likely wrong along with some other likely issues.

The GL_ARB_texture_multisample extension is part of the OpenGL 3.2 specification. Per the OpenGL.org registry, this NVIDIA-developed extension is described as:
This extension provides support for two new types of "multisample textures" - two-dimensional and two-dimensional array - as well as mechanisms to fetch a specific sample from such a texture in a shader, and to attach such textures to FBOs for rendering. This extension also includes the following functionality, first described in NV_explicit_multisample:

* A query in the API to query the location of samples within the pixel
* An explicit control for the multisample sample mask to augment the control provided by SampleCoverage
Hopefully these patches can be cleaned up soon for the Intel driver, expanded eventually to support the Nouveau and Radeon Gallium3D drivers, and be merged into mainline Mesa ahead of the next Mesa 9.1/10.0 release. The current set of 26 patches can be found in this mailing list thread.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com 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 OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week