iris: Make can_fast_clear_depth return constants
authorNanley Chery <nanley.g.chery@intel.com>
Thu, 19 Nov 2020 00:17:42 +0000 (16:17 -0800)
committerMarge Bot <eric+marge@anholt.net>
Fri, 8 Jan 2021 23:23:31 +0000 (23:23 +0000)
commitb12b69b04b66d3f3cc30fcbcad8d061a92314496
tree94aa79e0c1067f9d7b2eee53f9ed91478f5ab270
parentfc06683d07124a699e8831f451e53957db384d72
iris: Make can_fast_clear_depth return constants

Make can_fast_clear_depth more consistent with can_fast_clear_color.

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