iris: Drop can_fast_clear_color's format parameter
authorNanley Chery <nanley.g.chery@intel.com>
Wed, 20 May 2020 18:46:46 +0000 (11:46 -0700)
committerMarge Bot <eric+marge@anholt.net>
Fri, 19 Jun 2020 21:03:31 +0000 (21:03 +0000)
commite533232d8c814dec0799650a6de3a710d029c63e
treecb839eb35e64750cac074cd266e33c0baa670c0a
parent7b7d28ed6de5dadc3a6b121d3bb2fec69571c69b
iris: Drop can_fast_clear_color's format parameter

Pull the resource's format from the pipe_resource instead. Makes the
changes in later commits more obvious.

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