i965/vec4: Return the emitted instruction in emit_lrp()
authorAntia Puentes <apuentes@igalia.com>
Wed, 17 Jun 2015 08:01:07 +0000 (10:01 +0200)
committerJason Ekstrand <jason.ekstrand@intel.com>
Mon, 3 Aug 2015 16:40:49 +0000 (09:40 -0700)
commit314474872b77f291132a01f7c1df2788586fc943
treecaf503822939a52536162b28b2a5cddfadfb9da6
parentb64bd1fdc37eed1bb62d2b32ad22f0f77501f7f2
i965/vec4: Return the emitted instruction in emit_lrp()

Needed in the NIR backend to set the "saturate" value of the
instruction.

Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
src/mesa/drivers/dri/i965/brw_vec4.h
src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp