nir: handle double-precision in fsign, fsat, fnot and frcp
authorIago Toral Quiroga <itoral@igalia.com>
Fri, 20 May 2016 07:38:20 +0000 (09:38 +0200)
committerIago Toral Quiroga <itoral@igalia.com>
Mon, 23 May 2016 06:54:37 +0000 (08:54 +0200)
commit38b719d6244e831effe93a5d10e932aad2100984
treec002a413787ceb3c6f6eb9f48efe4b240948dd39
parent3f73039adec1fb0f35a98c05f5622e74baf93a12
nir: handle double-precision in fsign, fsat, fnot and frcp

I think these are not strictly necessary since the floats in them
should be automatically promoted to doubles when operated with
double sources, but it makes things more explicit at least.

Reviewed-by: Matt Turner <mattst88@gmail.com>
src/compiler/nir/nir_opcodes.py