iris: Simplify iris_batch_prepare_noop().
authorFrancisco Jerez <currojerez@riseup.net>
Fri, 29 May 2020 23:54:35 +0000 (16:54 -0700)
committerMarge Bot <eric+marge@anholt.net>
Wed, 3 Jun 2020 22:22:19 +0000 (22:22 +0000)
commit45918e0d8c1ac3128b743fc4e549a60d744e3bc5
tree986b7616ae4a7a4af2f33c0061d170f55d812682
parent26a3c7b363133315d0ee2b03eb2ca986d4b23043
iris: Simplify iris_batch_prepare_noop().

This makes iris_batch_prepare_noop() return a boolean instead of
passing through the relevant set of dirty flags.  It will make it
easier to change the representation of dirty flags.

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