nil: Re-introduce the format capabilities
authorFaith Ekstrand <faith.ekstrand@collabora.com>
Tue, 31 Jan 2023 02:11:54 +0000 (20:11 -0600)
committerMarge Bot <emma+marge@anholt.net>
Fri, 4 Aug 2023 21:31:57 +0000 (21:31 +0000)
commit0af169b86bce677c50e8fe46938bcd57e0773cfd
tree13921a7515bfca5f5e4578e964c854db7c3b25c1
parent0c6c2fe2cf50dd7daa758953a61790e25351d605
nil: Re-introduce the format capabilities

The bits are already in the table we copied from the nouveau GL drivers,
we just need to set up some enums and plumb it through.  With that,
we're now properly advertising which formats are renderable.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24326>
src/nouveau/nil/nil_format.c