Kenneth Graunke <[email protected]> writes:

> u_transfer_helper already had code to handle treating packed Z32_S8
> as separate Z32_FLOAT and S8_UINT resources, since some drivers can't
> handle that interleaved format natively.
>
> Other hardware needs depth and stencil as separate resources for all
> formats.  For example, V3D3 needs this for 24-bit depth as well.
>
> This patch adds a new flag to lower all depth/stencils formats, and
> implements support for Z24_UNORM_S8_UINT.  (S8_UINT_Z24_UNORM is left
> as an exercise to the reader, preferably someone who has access to a
> machine that uses that format.)

It won't be directly usable for V3D, because we only want separate
stencil z24s8 in the MSAA case.  These kinds of complications are why I
wanted a helper library, not a midlayer.

However, this does look good and should bring your project closer to
completion, so:

Reviewed-by: Eric Anholt <[email protected]>

Attachment: signature.asc
Description: PGP signature

_______________________________________________
mesa-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to