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:

committed by
Marge Bot

parent
eb5d1c2722
commit
ae88e79f69
@@ -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 {
|
||||
|
Reference in New Issue
Block a user