commit | e59bfc820bdf8531c941150de2ea56fb83b6b28f | [log] [tgz] |
---|---|---|
author | Rob Clark <robdclark@chromium.org> | Mon Sep 02 10:08:37 2019 -0700 |
committer | Rob Clark <robdclark@gmail.com> | Fri Sep 06 00:13:44 2019 +0000 |
tree | a92d456a1f16969ad56c1d1051400efd795cda21 | |
parent | f94f22e87a64dcaaafba3e1a0d160385adce4807 [diff] |
freedreno/ir3: assert that only single address An instruction can reference only a single address register value. Add an assert to catch bugs. Also, address value should also be local to the same block as the instruction. (The one spot where changing the instruction address is actually legit needs to clear the address first.) Signed-off-by: Rob Clark <robdclark@chromium.org> Reviewed-by: Eric Anholt <eric@anholt.net>