nir/schedule: Support load/store_reg
authorFaith Ekstrand <faith.ekstrand@collabora.com>
Fri, 14 Jul 2023 23:21:59 +0000 (18:21 -0500)
committerMarge Bot <emma+marge@anholt.net>
Tue, 25 Jul 2023 15:36:52 +0000 (15:36 +0000)
commit355afc92d10522450bd36c3afa592a6136cd3749
tree9d43023c4a221dd4c25e2bd5cf18f68ab4184cb4
parent6908814d465bfb69a5f2a391379bfbb5ba3b29da
nir/schedule: Support load/store_reg

These are tracked the same way as register reads and writes, allowing
them to be re-arranged as long as they respect dependencies within the
same reg.

Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24153>
src/compiler/nir/nir_schedule.c