On Tue, Sep 19, 2017 at 7:39 AM, Lionel Landwerlin <
lionel.g.landwer...@intel.com> wrote:

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

Nope.  They can be disjoint (and are in i965).  I've been tempted to add an
extension to let people bind them to separate memory if they'd like.

--Jason
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to