Re: [Mesa-dev] [PATCH 02/16] nir: add comment about nir_src_copy()

2018-04-07 Thread Jason Ekstrand
Rb On April 7, 2018 09:14:03 Rob Clark wrote: So it is more clear about when to use nir_instr_rewrite_src() Signed-off-by: Rob Clark --- An assert would be nice too, but wasn't sure how to differentiate between the parent_instr and parent_if case. src/compiler/nir/nir.c | 3 +++ 1 file chang

[Mesa-dev] [PATCH 02/16] nir: add comment about nir_src_copy()

2018-04-07 Thread Rob Clark
So it is more clear about when to use nir_instr_rewrite_src() Signed-off-by: Rob Clark --- An assert would be nice too, but wasn't sure how to differentiate between the parent_instr and parent_if case. src/compiler/nir/nir.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/compiler/ni