nir/glsl: convert nir_visitor::result to a nir_ssa_def *
authorConnor Abbott <cwabbott0@gmail.com>
Sat, 31 Oct 2015 03:47:46 +0000 (23:47 -0400)
committerConnor Abbott <cwabbott0@gmail.com>
Tue, 10 Nov 2015 18:55:54 +0000 (13:55 -0500)
commita60e990dd25e2fb45799a7a5cfa58abc9abf7665
tree1c9a9bd623ef253e52b7618e32fbca28a02ea575
parent30fe8eaa8e65e656d2bc95f499791eebea7d7dc9
nir/glsl: convert nir_visitor::result to a nir_ssa_def *

Its only user now returns a nir_ssa_def *, and we'll need this since the
builder returns a nir_ssa_def *.

Signed-off-by: Connor Abbott <cwabbott0@gmail.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/glsl/nir/glsl_to_nir.cpp