i965/vec4: Return the emitted instruction in emit_minmax()
authorAntia Puentes <apuentes@igalia.com>
Tue, 16 Jun 2015 22:32:58 +0000 (00:32 +0200)
committerJason Ekstrand <jason.ekstrand@intel.com>
Mon, 3 Aug 2015 16:40:48 +0000 (09:40 -0700)
commitd53098393e3929b0c8d82f56144c7497b184f5b7
treeb761d0a7de80592875445943c161d500c976055f
parent7553a51a68c0b2030265fe741f9c511b65047914
i965/vec4: Return the emitted instruction in emit_minmax()

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