iris: Check for zero in clear color compatibility fn
authorNanley Chery <nanley.g.chery@intel.com>
Wed, 14 Dec 2022 00:30:01 +0000 (16:30 -0800)
committerMarge Bot <emma+marge@anholt.net>
Thu, 15 Dec 2022 21:20:37 +0000 (21:20 +0000)
commit94b4a4b2a53da4baaed49ccb322fbabdfcc20f44
tree415caf5f802e03e2ce5210f3b9d6b64dff5ff69d
parent002096fcc45fb35f5d6370b22f97343853f72c8a
iris: Check for zero in clear color compatibility fn

Both formats may interpret the clear color as zero.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20320>
src/gallium/drivers/iris/iris_resolve.c