freedreno/ir3: update prefetch input_offset when packing inlocs
authorJonathan Marek <jonathan@marek.ca>
Tue, 17 Dec 2019 21:03:07 +0000 (16:03 -0500)
committerJonathan Marek <jonathan@marek.ca>
Tue, 17 Dec 2019 21:41:13 +0000 (16:41 -0500)
commit072e95e07ad940d95c78291c6422172346b74c50
tree888444255b4e0ba2727f1e545f3a9bba138bb840
parent62998f6e2df90f0ad340233352eb3d6f62b51a8c
freedreno/ir3: update prefetch input_offset when packing inlocs

If the input location changes then prefetch input_offset needs to change.

Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Reviewed-by: Eric Anholt <eric@anholt.net>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3141>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3141>
src/freedreno/ir3/ir3_compiler_nir.c