isl: Add some asserts about multisampled surfaces
authorJason Ekstrand <jason.ekstrand@collabora.com>
Mon, 30 May 2022 14:52:10 +0000 (09:52 -0500)
committerMarge Bot <emma+marge@anholt.net>
Tue, 31 May 2022 13:42:28 +0000 (13:42 +0000)
commitfaa51a10edbd92cc3f9cf2c5766360f759edeea2
tree02e86b34d57f1099bdc92d31cbc73db9b17802c1
parent8d8fb6429cf186be3900bb197be2ce66c4d1104a
isl: Add some asserts about multisampled surfaces

This isn't really necessary because the API doesn't allow MSAA and
mipmapping at the same time but people forget that pretty often so it's
good to have it as documentation if nothing else.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14129>
src/intel/isl/isl_surface_state.c