crocus: refactor blend state code.
authorDave Airlie <airlied@redhat.com>
Mon, 21 Jun 2021 06:31:51 +0000 (16:31 +1000)
committerMarge Bot <eric+marge@anholt.net>
Tue, 22 Jun 2021 18:56:20 +0000 (18:56 +0000)
commit22ee372eb31f6c9fc30d4a57b01abddbaec34708
tree3ab9d918d48eaf929d0eb3fdca6679af29f13f8a
parenta9c1c75e9ce3f6d06c5a0a1d6610a63184b5954f
crocus: refactor blend state code.

This just refactors this code before adding gen8 support which
needs more changes in this area.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11507>
src/gallium/drivers/crocus/crocus_state.c