nir: Add a helper for getting a constant value from an SSA source
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 9 Dec 2014 01:34:23 +0000 (17:34 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 15 Jan 2015 15:19:03 +0000 (07:19 -0800)
commita3ad7fdf337023a1631bcc3ca44c733deb62b9fb
tree4ae5ee0adb43dc39e5bceb843dfbb823c53eca2d
parent940ccc45ad4110cf720d1de8652d484f47a7b439
nir: Add a helper for getting a constant value from an SSA source

Reviewed-by: Connor Abbott <cwabbott0@gmail.com>
src/glsl/nir/nir.c
src/glsl/nir/nir.h