asahi: Add size field to slices
authorAlyssa Rosenzweig <alyssa@rosenzweig.io>
Tue, 22 Feb 2022 00:28:13 +0000 (19:28 -0500)
committerMarge Bot <emma+marge@anholt.net>
Tue, 22 Mar 2022 00:19:29 +0000 (00:19 +0000)
commit2c23bb49effab7cdbb029f1651cf80a3e6177925
tree29da61221bfee204ae7a6740f43686711b6a5513
parentf5ae88d36f8fe6a7e105624d773c536e2cefa35f
asahi: Add size field to slices

Needed to size attachments for the kernel... for some reason. We already
compute this; just save it.

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