st/nine: Pass more adapter formats for CheckDepthStencilMatch
authorAxel Davy <davyaxel0@gmail.com>
Mon, 3 Jun 2019 22:24:15 +0000 (00:24 +0200)
committerMarge Bot <eric+marge@anholt.net>
Fri, 15 May 2020 15:43:57 +0000 (15:43 +0000)
commit54a7a6908597e016912609db16532cc8eba16864
tree1cc098e9afe5c5426bf2af3e4463ff040e0e0468
parentedff31c0d902cd83495a1e49f306d8f031cf118b
st/nine: Pass more adapter formats for CheckDepthStencilMatch

It seems CheckDepthStencilMatch should accept A8R8G8B8
as adapter format. Given the lack of clarity of the doc
relative to the difference between display format
and adapter format (== display format modulo alpha bits),
for now just accept display formats with and without alpha bits.

Fixes: https://github.com/iXit/Mesa-3D/issues/317
Signed-off-by: Axel Davy <davyaxel0@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5015>
src/gallium/frontends/nine/adapter9.c