nir/builder: Add nir_b2i
authorConnor Abbott <cwabbott0@gmail.com>
Fri, 2 Aug 2019 12:56:20 +0000 (14:56 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Tue, 6 Aug 2019 22:03:10 +0000 (18:03 -0400)
commite7fd90e8ef6dc9cf12108f53409fb71f0133cb01
tree98ae4e3d9e0bfe19ff1be271248ecef1bfb4c272
parentf84c9ad17abfcfa66e9c0f0f23fdb387b29335e1
nir/builder: Add nir_b2i

Same as nir_b2f but for integers.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/compiler/nir/nir_builder.h