asahi: Pass through surface sample count
authorAsahi Lina <lina@asahilina.net>
Wed, 14 Jun 2023 17:49:25 +0000 (02:49 +0900)
committerMarge Bot <emma+marge@anholt.net>
Fri, 23 Jun 2023 17:37:41 +0000 (17:37 +0000)
commiteef7fff852978f23434bcaf6bc6af1ada215e4ff
treeda60725bf925b3c1c54e0150c835cc3a27e552c4
parent87bbaf680aa58c9ecef0a368ce2d22c669bb16a4
asahi: Pass through surface sample count

This makes PIPE_CAP_SURFACE_SAMPLE_COUNT do something, namely, explode
with lots of fireworks. We'll have to figure out what's wrong, but at
least now we aren't just not trying at all. Should not break anything as
long as PIPE_CAP_SURFACE_SAMPLE_COUNT is not flipped on.

Signed-off-by: Asahi Lina <lina@asahilina.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23832>
src/gallium/drivers/asahi/agx_state.c