freedreno/ir3: use const_index accessors
authorRob Clark <robdclark@chromium.org>
Wed, 6 May 2020 20:14:39 +0000 (13:14 -0700)
committerRob Clark <robdclark@chromium.org>
Thu, 14 May 2020 03:24:38 +0000 (20:24 -0700)
commitea6b404294a0d6d83360bd0c5c8ab4e6f44c3555
treebd7fdc65faa9ed8c54020d410c67cfe7f3be46b3
parent14969aab11effa1500f114314c9b8879821b8b24
freedreno/ir3: use const_index accessors

Cleans up a couple spots that were still open-coding this.

Signed-off-by: Rob Clark <robdclark@chromium.org>
Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/freedreno/ir3/ir3_a4xx.c
src/freedreno/ir3/ir3_a6xx.c