crocus: dirty blend state more often.
authorDave Airlie <airlied@redhat.com>
Thu, 24 Jun 2021 04:20:25 +0000 (14:20 +1000)
committerMarge Bot <eric+marge@anholt.net>
Thu, 24 Jun 2021 06:50:49 +0000 (06:50 +0000)
commit0fa4b64f6c349da91bde6bcadda307b249705862
tree8c79a65ed7e584ec92771261c18c1f8f3388d766
parenta74c16e5f8bd0647f8d5bf199eccd1551b0949e3
crocus: dirty blend state more often.

The blend state depends on wm_prog_data dual_src and it also
depends on the cbuf formats in can_emit_logic_op.

Dirty it in the correct places.

Fixes:
dEQP-GLES3.functional.fbo.invalidate*

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