[Mesa-dev] [PATCH 14/15] anv: enable multiple planes per image/imageView

Jason Ekstrand jason at jlekstrand.net
Fri Sep 15 23:06:11 UTC 2017


On Fri, Sep 15, 2017 at 7:11 AM, Lionel Landwerlin <
lionel.g.landwerlin at intel.com> wrote:

> This change introduce the concept of planes for image & views. It
> matches the planes available in new formats.
>
> We also refactor depth & stencil support through the usage of planes
> for the sake of uniformity. In the backend (genX_cmd_buffer.c) we have
> to take some care though with regard to auxilliary surfaces.
> Multiplanar color buffers can have multiple auxilliary surfaces but
> depth & stencil share the same HiZ one (only store in the depth
> plane).
>

Not really.  HiZ has nothing to do with stencil, it's just for depth
compression.  I think, in principal, I like splitting things out into a
plane array better.  I never did like the way we special-cased
depth+stencil.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170915/8cab46ad/attachment.html>


More information about the mesa-dev mailing list