ac/nir: fix translation of nir_op_frcp for doubles
authorTimothy Arceri <tarceri@itsqueeze.com>
Thu, 11 Jan 2018 10:11:00 +0000 (21:11 +1100)
committerTimothy Arceri <tarceri@itsqueeze.com>
Thu, 11 Jan 2018 22:29:18 +0000 (09:29 +1100)
commit7b971c828a7aaa507e9cea139f3ed932bbfc890a
treedaf3e84b5c61c1d5c91697a19fe0902bb946b7da
parent24575c815c3a8bf3457b54077b93baa5fd73c7f2
ac/nir: fix translation of nir_op_frcp for doubles

Without this we end up with the llvm error message:

"Both operands to a binary operator are not of the same type!"

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/amd/common/ac_nir_to_llvm.c