Re: [Mesa-dev] [PATCH] nir: Make nir_const_value a union

2016-05-26 Thread Jason Ekstrand
On Thu, May 26, 2016 at 3:59 PM, Vinson Lee wrote: > On Thu, May 26, 2016 at 3:40 PM, Jason Ekstrand > wrote: > > There's no good reason for it to be a struct of an anonymous union. > > > > Cc: Vinson Lee > > --- > > src/compiler/nir/nir.h | 16 +++- > > src/c

Re: [Mesa-dev] [PATCH] nir: Make nir_const_value a union

2016-05-26 Thread Vinson Lee
On Thu, May 26, 2016 at 3:40 PM, Jason Ekstrand wrote: > There's no good reason for it to be a struct of an anonymous union. > > Cc: Vinson Lee > --- > src/compiler/nir/nir.h | 16 +++- > src/compiler/nir/nir_constant_expressions.py | 2 +- > 2 files changed, 8

[Mesa-dev] [PATCH] nir: Make nir_const_value a union

2016-05-26 Thread Jason Ekstrand
There's no good reason for it to be a struct of an anonymous union. Cc: Vinson Lee --- src/compiler/nir/nir.h | 16 +++- src/compiler/nir/nir_constant_expressions.py | 2 +- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/src/compiler/nir/nir.h