Re: [Mesa-dev] [PATCH 6/6] nir/algebraic: Add a bit-size validator

2016-04-26 Thread Samuel Iglesias Gonsálvez
On 26/04/16 06:39, Jason Ekstrand wrote: > This commit adds a validator that ensures that all expressions passed > through nir_algebraic are 100% non-ambiguous as far as bit-sizes are > concerned. This way it's a compile-time error rather than a hard-to-trace > C exception some time later. > ---

[Mesa-dev] [PATCH 6/6] nir/algebraic: Add a bit-size validator

2016-04-25 Thread Jason Ekstrand
This commit adds a validator that ensures that all expressions passed through nir_algebraic are 100% non-ambiguous as far as bit-sizes are concerned. This way it's a compile-time error rather than a hard-to-trace C exception some time later. --- src/compiler/nir/nir_algebraic.py | 270 +++