Re: [Mesa-dev] [PATCH v2] nir: Implement optional b2f->iand lowering

2018-05-18 Thread Christian Gmeiner
Am Mi., 2. Mai 2018 um 09:50 Uhr schrieb Alyssa Rosenzweig < aly...@rosenzweig.io>: > This pass is required by the Midgard compiler; our instruction set uses > NIR-style booleans (~0 for true) but lacks a dedicated b2f instruction. > Normally, this lowering pass would be implemented in a backend-s

Re: [Mesa-dev] [PATCH v2] nir: Implement optional b2f->iand lowering

2018-05-02 Thread Matt Turner
Thanks! Reviewed-by: Matt Turner ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev

[Mesa-dev] [PATCH v2] nir: Implement optional b2f->iand lowering

2018-05-02 Thread Alyssa Rosenzweig
This pass is required by the Midgard compiler; our instruction set uses NIR-style booleans (~0 for true) but lacks a dedicated b2f instruction. Normally, this lowering pass would be implemented in a backend-specific algebraic pass, but this conflicts with the existing iand->b2f pass in nir_opt_alge