Re: [Mesa-dev] [PATCH 1/3] nir/worklist: Rework the foreach macro

2018-07-16 Thread Eric Anholt
Jason Ekstrand writes: > This makes the arguments match the (thing, container) pattern used in > other nir_foreach macros and also renames it to make that a bit more > clear. Yay, consistency! Reviewed-by: Eric Anholt signature.asc Description: PGP signature _

Re: [Mesa-dev] [PATCH 1/3] nir/worklist: Rework the foreach macro

2018-07-05 Thread Caio Marcelo de Oliveira Filho
Reviewed-by: Caio Marcelo de Oliveira Filho On Tue, Jul 03, 2018 at 11:13:07PM -0700, Jason Ekstrand wrote: > This makes the arguments match the (thing, container) pattern used in > other nir_foreach macros and also renames it to make that a bit more > clear. > --- > src/compiler/nir/nir_opt_dc

[Mesa-dev] [PATCH 1/3] nir/worklist: Rework the foreach macro

2018-07-03 Thread Jason Ekstrand
This makes the arguments match the (thing, container) pattern used in other nir_foreach macros and also renames it to make that a bit more clear. --- src/compiler/nir/nir_opt_dce.c | 3 +-- src/compiler/nir/nir_worklist.h | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/sr