nir: Create nir_builder in nir_lower_doubles_impl()
authorMatt Turner <mattst88@gmail.com>
Mon, 7 Jan 2019 23:35:31 +0000 (15:35 -0800)
committerMatt Turner <mattst88@gmail.com>
Thu, 10 Jan 2019 00:42:40 +0000 (16:42 -0800)
commitfe2cbcf3ee97566815c422391aeb345000ab733a
tree5c2fed493bda563e586eeb2d08b88b1ae72cff58
parentecb115eb3f2eb876a294b66737c91e195e54532a
nir: Create nir_builder in nir_lower_doubles_impl()

We're going to use it more in a future patch, and this avoids a lot of
gross code.

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