iris: Inline iris_can_sample_mcs_with_clear
authorNanley Chery <nanley.g.chery@intel.com>
Tue, 25 Jul 2023 18:09:48 +0000 (14:09 -0400)
committerMarge Bot <emma+marge@anholt.net>
Thu, 10 Aug 2023 16:21:28 +0000 (16:21 +0000)
commit9da56a369801bc9392a272d223babfae1d01a165
treec8ec38efb50c095639182d86a1a945e6c751b428
parent1d1dbbd03f1a09ca3cc67da887aee02d48f40807
iris: Inline iris_can_sample_mcs_with_clear

Now that there's only one user, inline the function.

While we're here, update the stale comment about unknown sampling
formats causing us to implement a simplified workaround.  We've had
visibility into the formats that blorp_copy will use for some time now.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24446>
src/gallium/drivers/iris/iris_resolve.c
src/gallium/drivers/iris/iris_resource.h