| commit | 2c7c62dfd9dc1041d7bc0b27575fd02563df4c9e | [log] [tgz] |
|---|---|---|
| author | Job Noorman <jnoorman@igalia.com> | Thu Jan 23 12:09:35 2025 +0100 |
| committer | Marge Bot <emma+marge@anholt.net> | Wed Jan 29 02:19:50 2025 +0000 |
| tree | ff261f80061cc8637f576c94328392bbd796df60 | |
| parent | e7ac1094f69830cb76e622525629ace68b757a10 [diff] |
ir3: add helper to calculate src read delay cat3 instructions read their 3rd src later than their first two srcs. This was implemented in two different places: once for scheduling and once for legalization. Extract this logic in a new helper and also add similar logic for gat/swz there (which the scheduling logic failed to account for). Signed-off-by: Job Noorman <jnoorman@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33183>