nir: add a couple of ior opts to nir_opt_algebraic
authorTimothy Arceri <tarceri@itsqueeze.com>
Mon, 16 Jul 2018 05:19:29 +0000 (15:19 +1000)
committerTimothy Arceri <tarceri@itsqueeze.com>
Tue, 17 Jul 2018 23:53:27 +0000 (09:53 +1000)
commite105b0ca306eb826c7b5cbc8a965e9f774d0d5b7
treecfd96c8703bc8d57d8b6a45e9009da89f46ad17d
parentc4188a9b9f45a2f2f9e3be99fe9861bec091b924
nir: add a couple of ior opts to nir_opt_algebraic

One of these was seen in a Deus Ex shader.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/compiler/nir/nir_opt_algebraic.py