iris: Extend iris_context dirty state flags to 128 bits.
authorFrancisco Jerez <currojerez@riseup.net>
Fri, 29 May 2020 23:57:01 +0000 (16:57 -0700)
committerMarge Bot <eric+marge@anholt.net>
Wed, 3 Jun 2020 22:22:19 +0000 (22:22 +0000)
commit46183a999bd0a56cedc7c1c08c8b58356b424009
tree3a9b692aa3b40c9bf459c3cd0f405e998bd3345b
parent45918e0d8c1ac3128b743fc4e549a60d744e3bc5
iris: Extend iris_context dirty state flags to 128 bits.

We're nearly out of dirty bits, and some patches pending review on
GitLab no longer apply due to that.  Make room for them by splitting
off shader stage-specific bits into a separate stage_dirty mask.

An alternative would be to split compute-related bits into a separate
mask, but that would prevent the '<< stage' indexing done in various
parts of the driver from working.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5279>
src/gallium/drivers/iris/iris_binder.c
src/gallium/drivers/iris/iris_blorp.c
src/gallium/drivers/iris/iris_clear.c
src/gallium/drivers/iris/iris_context.c
src/gallium/drivers/iris/iris_context.h
src/gallium/drivers/iris/iris_draw.c
src/gallium/drivers/iris/iris_program.c
src/gallium/drivers/iris/iris_query.c
src/gallium/drivers/iris/iris_resolve.c
src/gallium/drivers/iris/iris_resource.c
src/gallium/drivers/iris/iris_state.c