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

Lionel Landwerlin lionel.g.landwerlin at intel.com
Tue Sep 19 14:39:37 UTC 2017


On 16/09/17 00:06, Jason Ekstrand wrote:
>
>
> On Fri, Sep 15, 2017 at 7:11 AM, Lionel Landwerlin 
> <lionel.g.landwerlin at intel.com <mailto: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.

Oh, maybe I dreamed that...
Isn't there a requirement to put the depth & stencil into the same 
buffer? Or were we just doing that to same some space?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170919/bc23ce53/attachment.html>


More information about the mesa-dev mailing list