freedreno/ir3: add input/output iterators
authorRob Clark <robdclark@chromium.org>
Thu, 24 Oct 2019 19:05:56 +0000 (12:05 -0700)
committerRob Clark <robdclark@chromium.org>
Tue, 12 Nov 2019 21:55:03 +0000 (13:55 -0800)
commitc00a67171c99a885ffa46aff31f9cfa165947d78
treedeaa4804159bbc21bd7594c3a870354e2b4e2cbb
parentb2417801e5d82cfac640086307599e81d5ae93e8
freedreno/ir3: add input/output iterators

We can at least get rid of the if-not-NULL check in a bunch of places.

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.h
src/freedreno/ir3/ir3_a6xx.c
src/freedreno/ir3/ir3_compiler_nir.c
src/freedreno/ir3/ir3_cp.c
src/freedreno/ir3/ir3_depth.c
src/freedreno/ir3/ir3_group.c
src/freedreno/ir3/ir3_print.c
src/freedreno/ir3/ir3_ra.c
src/freedreno/ir3/ir3_sched.c
src/freedreno/ir3/ir3_shader.c
src/freedreno/ir3/ir3_sun.c