freedreno/ir3: number instructions from one
authorRob Clark <robdclark@chromium.org>
Wed, 15 Jan 2020 22:23:23 +0000 (14:23 -0800)
committerMarge Bot <eric+marge@anholt.net>
Sat, 1 Feb 2020 02:40:22 +0000 (02:40 +0000)
commit4a7a6c9ef0eb6b26d8410591353142207689d085
tree5b1b4bff50240b010fde769357885208d0984ccf
parent0f78c32492ed096649b015a4967d6d56c18dd14a
freedreno/ir3: number instructions from one

ra_block_compute_live_ranges() treats zero as "not yet defined", so
probably best to not let this be a valid instruction #

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