[Mesa-dev] [PATCH V3 00/19] ARB_texture_multisample support

Chris Forbes chrisf at ijw.co.nz
Fri Feb 8 01:18:57 PST 2013


This series adds the core mesa bits for ARB_texture_multisample, and support
in the i965 driver on Gen6 and Gen7.

I've tidied up all the things that were commented on in V2.
Big changes:

   - First three patches were squashed together. The result adds the glapi
      bits, the dispatch_sanity tweaks, and the stubs for new entrypoints
      in one go.
   - Stencil-only texturing nonsense goes away entirely.
   - TexImage*Multisample now supports zero dims to deallocate the texture.
   - Respecifying a multisample texture which is bound to the active
      framebuffer should work properly now.

I've tested this on my Gen6 and Gen7 boxes; If someone who has access to a
Haswell could check this series on there too, that would be awesome. The
matching piglits [in the texture_multisample branch in my repo on github]
still need quite a bit of tidying up before they're ready to merge, but should
give some idea of whether this is wildly busted on Haswell.

Things that still need to be done, but I don't think need to block this
series:
   - CMS layout support on Gen7, for some performance at the cost of having to
      emit different shaders based on layout.
   - Verify that HiZ interactions etc are correct for multisample depth arrays.
      Until this is done, we only advertise MAX_DEPTH_TEXTURE_SAMPLES=1 to avoid
      exposing breakage.

-- Chris



More information about the mesa-dev mailing list