i965/fs: implement d2i and d2u
authorIago Toral Quiroga <itoral@igalia.com>
Mon, 18 Jan 2016 10:23:49 +0000 (11:23 +0100)
committerSamuel Iglesias Gonsálvez <siglesias@igalia.com>
Tue, 10 May 2016 09:25:08 +0000 (11:25 +0200)
commitc63a6f21494685d41d51887901298639c4d32c22
tree54b1d5e8ed444be43ca7eb9ef0c3aff1b129353c
parente0c45182e3d865d7f187dc35e70832f1fa7c9fad
i965/fs: implement d2i and d2u

These need the same treatment as d2f, so generalize our d2f lowering to cover
these too.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_fs_lower_d2f.cpp
src/mesa/drivers/dri/i965/brw_fs_nir.cpp