aco: use num_opcodes instead of last_opcode
authorRhys Perry <pendingchaos02@gmail.com>
Tue, 19 May 2020 12:26:21 +0000 (13:26 +0100)
committerMarge Bot <eric+marge@anholt.net>
Mon, 15 Jun 2020 18:24:22 +0000 (18:24 +0000)
commit34d481fd1f689805e0f41a8907bd00f96270fbfc
tree1c2d7a931e594786e354d8bf45376c73a93bac2c
parente838acf37d055ba3734d720804b72eb1ecf02577
aco: use num_opcodes instead of last_opcode

No fossil-db changes.

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5245>
src/amd/compiler/aco_optimizer.cpp