iris: Drop redundant iris_address::write flag.
authorFrancisco Jerez <currojerez@riseup.net>
Wed, 27 May 2020 20:42:22 +0000 (13:42 -0700)
committerMarge Bot <eric+marge@anholt.net>
Wed, 3 Jun 2020 23:12:22 +0000 (23:12 +0000)
commitae88e79f6959df71953db6314c78f68bd2799f3c
tree0a4e36412b86355865a0ccd64555ca785286b953
parenteb5d1c27227302167d299bcaa2dabe623a242eb3
iris: Drop redundant iris_address::write flag.

The write flag is redundant since it can be inferred easily from the
iris_address::access domain.  This allows the iris_address struct to
be laid out more efficiently in memory, leading to a measurable
improvement in several Piglit Drawoverhead test-cases.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3875>
src/gallium/drivers/iris/iris_genx_macros.h
src/gallium/drivers/iris/iris_query.c
src/gallium/drivers/iris/iris_screen.h