nir: inline block_add_pred() a few places
authorConnor Abbott <cwabbott0@gmail.com>
Wed, 22 Jul 2015 02:54:16 +0000 (19:54 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 24 Aug 2015 20:31:41 +0000 (13:31 -0700)
commit9d5944053ca7bed58b299211fe8028274d480b5b
tree3177510778bdcfb83756cf2ea9d67ab0b5d64f57
parentc7df141c71c3fa0bdbcf6d0bbd4b8158a35c7f5a
nir: inline block_add_pred() a few places

It was being used to initialize function impls and loops, even though
it's really a control flow modification helper. It's pretty trivial, so
just inline it to avoid the dependency.

Signed-off-by: Connor Abbott <connor.w.abbott@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/glsl/nir/nir.c