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>
This commit is contained in:
Francisco Jerez
2020-05-27 13:42:22 -07:00
committed by Marge Bot
parent eb5d1c2722
commit ae88e79f69
3 changed files with 4 additions and 5 deletions

View File

@@ -137,10 +137,9 @@ struct iris_vtable {
};
struct iris_address {
enum iris_domain access;
struct iris_bo *bo;
uint64_t offset;
bool write;
enum iris_domain access;
};
struct iris_screen {