freedreno/ir3/validate: also check instr->address
authorRob Clark <robdclark@chromium.org>
Sun, 7 Jun 2020 18:11:23 +0000 (11:11 -0700)
committerMarge Bot <eric+marge@anholt.net>
Tue, 16 Jun 2020 20:56:15 +0000 (20:56 +0000)
commit1bee79996b215be271b6dd76d145e3c5bb55af3f
tree41201f593d01f762f2c1b561368be22fb3869508
parentf598786775f0490333c69065bd42a81d9e71d878
freedreno/ir3/validate: also check instr->address

Verify that instructions which have a relative src and/or dest, have
`instr->address`.

Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5280>
src/freedreno/ir3/ir3_validate.c