nir/algebraic: Loosen a restriction on variables
authorJason Ekstrand <jason.ekstrand@intel.com>
Fri, 19 Oct 2018 19:31:19 +0000 (14:31 -0500)
committerJason Ekstrand <jason.ekstrand@intel.com>
Mon, 22 Oct 2018 21:00:18 +0000 (16:00 -0500)
commit932c650e0b1b3a0845f138c216ae1f235bdfa070
treef4e5cdd1a69449a8f395ea7b213d28dffc45dda1
parentea9e651423424219cae8ebdef88f432b7cff31ab
nir/algebraic: Loosen a restriction on variables

Previously, we would fail if a variable had an assigned but unknown bit
size X and we tried to assign it an actual bit size.  However, this is
ok because, at the time we do the search, the variable does have an
actual bit size and it will match X because of the NIR rules.

Reviewed-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
src/compiler/nir/nir_algebraic.py