i965/fs: handle fp64 opcodes in brw_do_channel_expressions
authorIago Toral Quiroga <itoral@igalia.com>
Wed, 27 Jan 2016 11:48:38 +0000 (12:48 +0100)
committerSamuel Iglesias Gonsálvez <siglesias@igalia.com>
Tue, 10 May 2016 09:25:08 +0000 (11:25 +0200)
commit9e5ce151a4708da60f9e5962cdefa5447a4dee04
treeab0d1b1e4c8ec10ae6c1e9c73267074ac8491f8c
parenta644b0939dd8284bca25042bccd2439c173dd7d7
i965/fs: handle fp64 opcodes in brw_do_channel_expressions

In the case of the pack opcode we are already doing the
lowering in NIR, so no need to do it here. The unpack opcode
operates on scalars, so it should not be lowered.

In the case of frexp_sig and frexp_exp, they are lowered in
lower_instructions, so we don't have to care about them.

All the remaining opcodes involve conversions from and to doubles
and are business as usual.

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