nir/algebraic: Remove problematic "optimization"
authorAlyssa Rosenzweig <alyssa@rosenzweig.io>
Wed, 15 May 2019 05:03:19 +0000 (05:03 +0000)
committerAlyssa Rosenzweig <alyssa@rosenzweig.io>
Thu, 16 May 2019 02:08:37 +0000 (02:08 +0000)
commit46494c3dc140d99391cf3b6f69c514489fab4784
tree8b37ad2150586b6b9b2975f73dbd005128411bbd
parent74ab80b92da9390a3ca7e718537e035bd5af0b22
nir/algebraic: Remove problematic "optimization"

This line is no longer relevant now that booleans are 1-bit, and in fact
causes issues (infinite progress loop between algebraic optimizations
and copy prop) with constant vector masks.

No shader-db changes on Intel platforms (Jason).

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
src/compiler/nir/nir_opt_algebraic.py