Re: [Mesa-dev] [PATCH 4.5/7] nir: add list_head to nir_src::ssa

2015-10-26 Thread Rob Clark
On Mon, Oct 26, 2015 at 2:01 PM, Jason Ekstrand wrote: > On Mon, Oct 26, 2015 at 8:26 AM, Rob Clark wrote: >> From: Rob Clark >> >> This will be used by clone. Possibly useful elsewhere. The list link >> will only be valid in ssa case, it fits in the padding in the union >> left from the large

Re: [Mesa-dev] [PATCH 4.5/7] nir: add list_head to nir_src::ssa

2015-10-26 Thread Jason Ekstrand
On Mon, Oct 26, 2015 at 8:26 AM, Rob Clark wrote: > From: Rob Clark > > This will be used by clone. Possibly useful elsewhere. The list link > will only be valid in ssa case, it fits in the padding in the union > left from the larger nir_reg_src. We already have a use_link. It seems perfectly

[Mesa-dev] [PATCH 4.5/7] nir: add list_head to nir_src::ssa

2015-10-26 Thread Rob Clark
From: Rob Clark This will be used by clone. Possibly useful elsewhere. The list link will only be valid in ssa case, it fits in the padding in the union left from the larger nir_reg_src. Signed-off-by: Rob Clark --- src/glsl/nir/nir.h | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(