[Mesa-dev] [PATCH 3/3] gallium/u_transfer_helper: Add support for separate Z24/S8 as well.
Eric Anholt
eric at anholt.net
Tue Aug 21 00:28:37 UTC 2018
Kenneth Graunke <kenneth at whitecape.org> 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 <eric at anholt.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180820/5bed289a/attachment.sig>
More information about the mesa-dev
mailing list