asahi: Fix depth/stencil buffers
authorAlyssa Rosenzweig <alyssa@rosenzweig.io>
Sun, 15 May 2022 17:22:08 +0000 (13:22 -0400)
committerMarge Bot <emma+marge@anholt.net>
Sun, 4 Sep 2022 18:05:31 +0000 (18:05 +0000)
commitb891d60efa812bb6eaaafd5062cdd0759510f0ba
treedc7a41ce5e5b01528f290fb9a0fc7c67dd7fdb37
parent7cb21eb5956d3e60f86b0d1728d3861743b1b265
asahi: Fix depth/stencil buffers

There are a bunch of bits we need to set right to get depth/stencil
loads/stores working, including with independent settings for each. The
kernel "helps" us here.

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18380>
src/asahi/lib/cmdbuf.xml
src/gallium/drivers/asahi/agx_pipe.c
src/gallium/drivers/asahi/magic.c
src/gallium/drivers/asahi/magic.h