diff options
author | Kenneth Graunke <[email protected]> | 2019-09-10 11:14:57 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2019-09-18 15:44:22 -0700 |
commit | dd83ef0d1a14b144c562129b5572f9ebdbe56042 (patch) | |
tree | 6a1c6df6676d2cd4ebae6570304020a025838bc5 /src/gallium/auxiliary/driver_ddebug | |
parent | 1e7daaa6c9a1bcf5f1ae7d85519e61f78cf91518 (diff) |
iris: Track per-stage bind history, reduce work accordingly
We now track per-stage bind history for constant and shader buffers,
shader images, and sampler views by adding an extra res->bind_stages
field to go with res->bind_history.
This lets us flag IRIS_DIRTY_CONSTANTS for only the specific stages
involved, and also skip some CPU overhead in iris_rebind_buffer.
Cuts 4% of 3DSTATE_CONSTANT_XS packets in a Shadow of Mordor trace
on Icelake.
Reviewed-by: Caio Marcelo de Oliveira Filho <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/driver_ddebug')
0 files changed, 0 insertions, 0 deletions