nir: Add a function for rewriting the condition of an if statement
authorJason Ekstrand <jason.ekstrand@intel.com>
Fri, 24 Apr 2015 17:34:30 +0000 (10:34 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Sat, 9 May 2015 00:16:13 +0000 (17:16 -0700)
commitf72a8d1cf06da55c215a61c085e1f29a5102182b
treed8278287ddef5c488e042c59eb70eefdd2140f3a
parent300d72943675a49091ecb49597b56f7bdfefd22d
nir: Add a function for rewriting the condition of an if statement

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